for example u can take ebay or plifcart online shoping web application--------- write acode in vbscript in qtp---- search box and write (iphone6)and click on go button then opened diff prise iphones in next page but u can select 30,000 to 90,000 list pls write code?
Answer Posted / usha
systemutil.run "www.flipkart.com"
Browser("name:=Online Shopping India M.*").page("title:=Online Shopping India M.*").webedit("html tag:=INPUT","name:=q").Set "iphone 6"
Browser("name:=Online Shopping India M.*").page("title:=Online Shopping India M.*").webbutton("html tag:=INPUT","name:=Search").click
Set d = description.Create()
d("micclass").value="WebCheckBox"
d("class").value="facetoption"
d("type").value="checkbox"
d("html tag").value="INPUT"
set b=Browser("name:=Mobiles & Accessories.*").page("title:=Mobiles & Accessories.*").ChildObjects(d)
'print b.count
For i = 0 to b.count-1
av= b(i).getroproperty("value")
If av= "facets.price_range%5B%5D=Rs.+35001+and+Above"Then
b(i).set "ON"
Exit for
End If
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differences between text and test area checkpoints?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
Hi All, How to Compare two strings character by character in QTP
how to prepared for first for the first interview?
Are Shared ORs read-only?
What are the disadvantages of recording test cases in qtp?
Does quicktest professional (qtp) is unicode compatible?
Explain about business process component? types and usage?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
How to build scripts that access data from external sources?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
Give the syntax to import/export xls into qtp.
How to save your test using quicktest professional?
Explain the concept of object repository and how qtp recognises objects?