joe loyzaga
FRProject
Advanced User
Offline
Posts: 515
I live in Sydney
|
 |
« on: November 05, 2007, 04:56:09 PM » |
|
I get this error number when running second loop on frameworkmanager trying to enter in webedit what worked in loop 1
|
|
|
|
|
Logged
|
|
|
|
|
Site Administrator
|
 |
« Reply #1 on: November 06, 2007, 12:40:19 AM » |
|
This error code corresponds with "The Parameter Is Incorrect". Most common causes are trying to select a sub-item which doesn't exist (i.e. the value you send to the .Input method doesn't exist in the control), or trying to use an object where a regular value (e.g. string, integer etc.) is required.
Put a breakpoint in the .Input method of the InputWebEditClass mini-class, and see what value is sent to be selected. A safe bet would be that it's either empty, or irrelevant.
Remark: Meir wishes to add that it's possible to get the error description by means of the statement: err.description
|
|
|
|
« Last Edit: November 06, 2007, 03:35:57 AM by Forum Administrator »
|
Logged
|
|
|
|
joe loyzaga
FRProject
Advanced User
Offline
Posts: 515
I live in Sydney
|
 |
« Reply #2 on: November 06, 2007, 03:42:32 PM » |
|
I dont have that mini class
I also cannot find instances of .Input
|
|
|
|
« Last Edit: November 06, 2007, 03:47:30 PM by joe loyzaga »
|
Logged
|
|
|
|
joe loyzaga
FRProject
Advanced User
Offline
Posts: 515
I live in Sydney
|
 |
« Reply #3 on: November 06, 2007, 05:22:17 PM » |
|
It seems as though it loses the object and the ie handle.
Look at attachments
|
|
|
|
|
Logged
|
|
|
|
|
yassa
|
 |
« Reply #4 on: November 06, 2007, 08:26:30 PM » |
|
I'm sorry, I got confused between webedit and weblist.
Put a break point on line 399, and press F11 to step into the called function. From within that function, debug the expression Level.QTPObject.Exist And send a screenshot of the code of the inner function.
Thanks
|
|
|
|
|
Logged
|
|
|
|
joe loyzaga
FRProject
Advanced User
Offline
Posts: 515
I live in Sydney
|
 |
« Reply #5 on: November 06, 2007, 09:36:06 PM » |
|
the images are in the zipped file and were created in order of execution
I use the same login call the second time round as the first so I don't get it
|
|
|
|
|
Logged
|
|
|
|
|