Hi .. i want to write the script for the combo nox list .
For example if any combo box having a multipul itme. So
how can i retrive each item for each iteration ? help me out .
Answers were Sorted based on User's Feedback
Answer / sandipgami84
Suppose u have Countries Combo, u can use below script
Set Browser_Page = Browser("title:=").Page("title:=.*")
cnt_CountryList = Browser_Page.WebList("html
id:=Countries").GetROProperty ("items count")
MsgBox(cnt_CountryList)
If cnt_CountryList >= 0 Then
Dim For_i
For For_i = 0 to cnt_CountryList -1
Browser_Page.WebList("html id:=Countries").Select For_i
MsgBox(Browser_Page.WebList("html
id:=Countries").GetROProperty("value"))
wait(1)
Next
Thanks,
Sandip, 09714177088
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / bindu kumar
x=Browser("name:=xxxx").page("title:=xxxx").WebList
("name:=statusVI").GetROProperty("items count")
For i = 1 to x
allitems=Browser("name:=xxxx").page("title:=xxx
x").WebList("name:=statusVI").GetItem(i)
msgbox allitems
Next
Is This Answer Correct ? | 1 Yes | 0 No |
WHAT ARE THE DISADVANTAGES OF SHARED REPOSITORY?
This is Ajay i have few douts if anybody know pls give me reply. 1. i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
What is the another extension name of library file. If that is exist than what's the difference between them.
What are the features and benefits of quick test pro (qtp 8.0)?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
what is meant by keyword driven frame work can any one answer plzzzzzzzzzzz
What are the Automation Limitations??
How you calling actions in qtp?
What is the synchronization point in qtp?
in a web table , i want you to click a particular object inside cell
How to convert manual test cases to automated testcases
What is log file? what is the use of Log fine. How to create? what are the contents and the main advantages of log files. plz do help me in this concepts as i have an interivew on qtp in a couple of days. plz do help me.. thanks in Advance.