I am in need of some set of QTP FAQ @ interview.
Also recently in one of interview portal they asked me how
you write the script for Login application which it is web
-based and using Descriptive Programming? Without
associating the shared object repository?Please i do need
this answer very soon? Please respond me soon @
vaisu72@yahoo.com

Answers were Sorted based on User's Feedback



I am in need of some set of QTP FAQ @ interview. Also recently in one of interview portal they aske..

Answer / uday

The syntax is perfect.

But how Dialog and WinEdit comes in web application.

Replace dialog with Browser().Page() etc.

The rest is fine...

Is This Answer Correct ?    4 Yes 0 No

I am in need of some set of QTP FAQ @ interview. Also recently in one of interview portal they aske..

Answer / dileep kumar

By using Descriptive we can write the test script for web based Login application.
Script: for QTP sample application:
Dialog("text:=Login").winedit("attached text:= Agentname").set"abcdef"

Dialog("text:=Login").winedit("attached text:= password").set"mercury"

Dialog("text:=Login").winbutton("text:= OK"),click
****************************************************
Like this by adding the unique properties and values of the object we can write descriptive program.

Note: >>>Some times the object needs more than one property to identify.
>>>> Better to use Object Spy to get the object properties and vales...

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Explain qtp(quick test professional)?

0 Answers  


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

0 Answers   RR Donnelley, RRDonnelley,


w is time parameter

1 Answers   Syntel,


for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b

3 Answers  


How will you handle custom object in QTP?

2 Answers  






I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

0 Answers  


Does QTP run in any environment?

0 Answers  


what is Business Process Testing plz explain?

7 Answers   iFlex,


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

0 Answers  


can any one explain with an example how to test Web application using qtp

3 Answers  


what is the defference between calling ation and called action?

1 Answers  


Why u don’t like recording the script and writing the script

3 Answers   Wipro,


Categories