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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / a thirupathi
yes defiantly will buy the 30000 or > 30000 below apple will by because online shopping will give more benefit as well as less taxable....
| Is This Answer Correct ? | 0 Yes | 1 No |
Types of properties that Quick Test learns while recording?
Where we save all scripts in the QTP
5 Answers Ordain Solutions, Sathya Technologies,
Explain the concept of object repository & how QTP recognises objects?
While creating Recovery Scenario for Pop-up window..In 'Recovery operation' we have to call a function. Can u tell me that function.
4 Answers Alcatel-Lucent, Ordain Solutions,
QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?
How to access values from Unix OS and how to write..
how do u get lib files into scripting files?
Maximum synchronizing time out in QTP
How to Import data from a ".xls" file to Data table during Runtime.
how to capture objects of remote deskop as it is capturing only window.
can we enable smart identification for test object
What is text/text area checkpoint?