Hi All,
I'm trying to select value from the weblist, but QTP throws the error that
"cannot
identify the specified item of the none object. Confirm that the specified
item is included in the object's item collection"
Here is the step that recorded with weblist value as "PENDARTWB"
Browser("Welcome to
PegaRULES").Page("ARTManager").Frame("PWGadget0Ifr").WebList("none").Select
"PENDARTWB"
The QTP is successfully able to identify the weblist object the only issue
is that it is not able to select value from weblist. The strange thing
is happening that if i change the select option and run the script
from current step then QTP is able to select that option, but if i again
restart the script fromthe begining then it shows the same error again..
I'm attaching the screenshot for OR and weblist object properties
Thanks
BNY
-- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
"Class Name:=WebList", "abs_x:=390", "abs_y:=498", "all items:=Select Workbasket\.\.\.;ARTLeadReviewer;ARTManager;ARTProcessErrWB;ARTReviewer;ARTSuperVisor;PENDARTWB", "class:=", "default value:=", "disabled:=0", "height:=20", "html id:=objWorkBasketSelect", "html tag:=SELECT", "innerhtml:=<OPTION selected value="""">Select Workbasket\.\.\.</OPTION><OPTION value=ARTLeadReviewer>ARTLeadReviewer</OPTION><OPTION value=ARTManager>ARTManager</OPTION><OPTION value=ARTProcessErrWB>ARTProcessErrWB</OPTION><OPTION value=ARTReviewer>ARTReviewer</OPTION><OPTION value=ARTSuperVisor>ARTSuperVisor</OPTION><OPTION value=PENDARTWB>PENDARTWB</OPTION>", "innertext:=Select Workbasket\.\.\.ARTLeadReviewerARTManagerARTProcessErrWBARTReviewerARTSuperVisorPENDARTWB", "items count:=7", "name:=none", "outerhtml:=<SELECT style=""WIDTH: 160px"" id=objWorkBasketSelect onchange=showWorkBasket\(this\.value\);this\.selectedIndex=0; name=none DSLoadMode=""OnDemand"" DSSource=""pyActivity=Data-Admin-WorkBasket\.LookupList&pyListName=List&pyObjClass=Data-Admin-WorkBasket&p1=pyWorkGroup&v1=ARTReviewer"" DSTargetID="""" DSDefaultCaption=""Select Workbasket\.\.\."" DSValue=""pyWorkBasket"" DSCaption=""pyWorkBasket""><OPTION selected value="""">Select Workbasket\.\.\.</OPTION><OPTION value=ARTLeadReviewer>ARTLeadReviewer</OPTION><OPTION value=ARTManager>ARTManager</OPTION><OPTION value=ARTProcessErrWB>ARTProcessErrWB</OPTION><OPTION value=ARTReviewer>ARTReviewer</OPTION><OPTION value=ARTSuperVisor>ARTSuperVisor</OPTION><OPTION value=PENDARTWB>PENDARTWB</OPTION></SELECT>", "outertext:=Select Workbasket\.\.\.ARTLeadReviewerARTManagerARTProcessErrWBARTReviewerARTSuperVisorPENDARTWB", "select type:=ComboBox Select", "selected item index:=0", "selected items count:=1", "selection:=Select Workbasket\.\.\.", "value:=Select Workbasket\.\.\.", "visible:=True", "visible items:=0", "width:=160", "x:=117", "y:=271"
<<attachment: OR.png>>
