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

Answers were Sorted based on User's Feedback



i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i..

Answer / guest

Type"BROWSER(BROWSERNAME).CLOSE"

Type"PAGE(PAGENAME_5).CLICK"








7.Example for low level recording is signatures and advanced
objects.

Is This Answer Correct ?    0 Yes 0 No

i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i..

Answer / satish

Kalyan Plz explain Hybri Frame Work Process or Any Frame
work process in QTP

Is This Answer Correct ?    0 Yes 0 No

i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i..

Answer / 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

More QTP Interview Questions

This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

0 Answers  


What is descriptive.create () in QTP?

3 Answers  


What are all the common questions asked for the candidates having more than 1 yrs exp in QTP?

1 Answers  


hello...any one tell me , where can i get company email id.. actually i am searching on testing... in my CV i put 3+ exp.. but all companies are asked company email id.. please provide solution for that... thanx in advance...

9 Answers   HDFC,


Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). Pls anyone, very urgent

1 Answers  






Hi, My application is a web application which was developed by Java. In that application we have applets to do some operations. Is it possible to recognize applets using QTP? If yes, how? pls, help me this

1 Answers  


How to "Turn Off" QTP results after running a Script?

4 Answers  


why you have standardized functions? plzzz guys with real time exp. do answer

0 Answers  


What exactly is the difference among all the three recording modes.

2 Answers   TCS,


Associated files in QTP?

1 Answers  


Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.

2 Answers  


how can u find the syntax errors or other script errors in your test during the execution of your QTP Test - (i.e., not after the execution/test run finished, but before finishing the test run)

2 Answers   HCL,


Categories