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 |
How to load the object repository at run time?
Add parameters during time in each row in one column
Synchronization methods?
Iam doing automation in Oracle App's using QTP? In App's because of some functional setup, keep on changing my script flow. for this how can i use the recovery sceanrio?? Please help me?
Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in advance and Merry Christmas.
Tell me Three major differences between QTP & Winrunner?
How to parameterize in QTP?
How to retrive XML file data in QTP ? using Script(Chandana)
What are some test assets and related extensions of qtp?
How can we make a shared object repository in QTP 9?
3 Answers Kanbay, Ordain Solutions,
What is object state in trigger events,in recovery scenario.write a script to handle this.
can u tell me website address of VBscript with examples.