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 |
What are the challenges you faced during you entire life automation ?
how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"
anybody give me the real time example for descriptive programming of web application
How can you handle exceptions in qtp?
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
suppose u have two send buttons(same width,height,font) on an application write a descriptive programming
can we enable smart identification for test object
What is time parameter?
how do u prepare Test Environment ?
In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?
How to retrieve value (data) from notepad using QTP ?