i have opend 2 gmails i am working with 1 gmail i want to
close other gmail by usig script.
2.i have 10 links in a page all of them have same
properties& names i want to click on 5link by using script.
3.i have one combobox in that i want to see all the
citynames in the combobox and i have to check weather
hyderabad is present or not.
4. size of objectrepository.
5.what r problems we get during writing the script.
6.is it possible to compare to excel sheets in qtp if
possible wht is the script.
7.example for lowlevelrecording
Answer Posted / sha
2. set Odesc=description.create
Odesc("miccalss").Value="Link"
set bro=Browser().Page().childobjects(Odesc)
Bro.count
for i=1 to 5
browser().Page().Bro(i).click
next
3. item=bro().Page().getroproperty("all items")
arr=split(item,";")
for i= 1 to ubound(arr)
if arr(i)="Hyderabad" then
reporter.reportevent micPass,Hyderabad,present
exitfor
Endif
next
4. Depends on the machine
5. Object properties will get change,Identifying the propery values etc
6.DataTable.Importsheet "path of excel file"sourcesheetname,Destination sheetname(global)
External sheet is in Global sheet and which u want to compare keep in action sheet then write if condition and check if get match with both global n action make it pass...
7.Signature
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
give me the code to save all messages of inbox of gmail into a folder and notepad
Explain in brief about the quicktest professional (qtp) automation object model?
What are parameterizing tests?
What are the types of object repository in qtp?
Sql questions to find second max salary and how to use joins
How to create scenario selector
Where we use data driver in qtp?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
Where we can use the synchronization?
The hybrid framework can be implemented for any application. Is it true?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
What are the benefits of qtp?
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
Explain about the test fusion report of quicktest professional (qtp)?
How can you identify the browser and its information using the qtp script?