On a web application I want to select list item 5 from a
dropdown list. but QTP identifying this object as
winobject. Then how can we select list item 5 from that
dropdown list.
Answer Posted / ashok kumar
Hi,
1. Are u using IE browser?
2. Have u opened the browser after QTP opened?
If u opened the IE browser after the QTP,
then, object will be record as Weblist, if you want to
select more than one value from list, try "ExtendSelect"
For ex:
Browser(".*").Page(".*").WebList(".*").Select "A"
Browser(".*").Page(".*").WebList(".*").ExtendSelect "B"
Browser(".*").Page(".*").WebList(".*").ExtendSelect "C"
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How you can delete excel file in qtp?
What is the script for database check point, bitmapchek point, regular expression ?
Explain in brief about the quicktest professional automation object model?
what you mean by artifact,milestone...
Explain about datafile/verification of date file when file is not available in local system?
Explain the concept of object repository & how qtp recognizes objects?
how to prepared for first for the first interview?
What are metrics and matrix?
Can we run multiple QTP scripts one after the other without manual intervention? How?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
How to open a new test using quicktest professional?
In what occasion we can specify global sheet and action sheet?
How to creating an output value using quicktest professional (qtp)?