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
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
Did QTP prove efficient for your project? Yes or No, explain?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
Explain measuring transaction.
What are the different attributes used with regular expression?
How will you report the bug and explain the defect tracking sheet you handled?
When ‘option explicit’ keyword is used in qtp?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
Is it possible to split an action? How?