Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is output value in QTP? Why do we use the output value
in QTP?How many types of output values are there in QTP?
what are their respective usage in QTP?

Answer Posted / nilesh banjare

Please find out the solution for Task 3 Output Values.

Dialog("Login").WinEdit("Agent Name:").Set Datatable.Value ("Username",Global)
Dialog("Login").WinEdit("Password:").Set Datatable.Value ("Password",Global) @@ hightlight id_;_3409322_;_script infofile_;_ZIP::ssf1.xml_;_
Dialog("Login").WinButton("OK").Click
If Window("Flight Reservation").Exist Then
Datatable.Value("ErrorMessage",1)="No Error"
wait 10
Exittest
End If
Dialog("Login").Dialog("Flight Reservations").Static("Agent name must be").Output CheckPoint("ErrorMessage")
dialog("text:=Flight Reservations").WinButton("text:=OK").Click
Dialog("text:=Login").close

Thanks,
Nilesh Banjare

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

2318


How to use Environment parameterization? Explain with an example.

1933


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

1973


What is the syntax to call one action in another?

996


If the objects hierarchy is changing from build to build, then how you will handle that condition?

1012


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

1136


hi nani my doubt is how does qtp process metrix related to software process.

1932


How will you find the current time of the remote machine using QTP script?

1017


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

1994


What are the different types of recording modes?

976


Approach for Installation,comaptibility,system testing

2155


how can i pass a "cript"as a parameter in to a function

1946


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

2314


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

2118


What is environment variable in qtp and why to use it?

958