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

What is Object Spy?

7 Answers   JKH, Ordain Solutions,


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 if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761

1 Answers  


How do we call Library Files(.vbs) in the Test Script Thanks in Advance...

6 Answers  


How to capture screen shots when an error occurs?

5 Answers   EDS,


Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..

0 Answers  






How to fetch web elements count from Google Page which contains letter "e"

4 Answers  


Why do we go for Qtp? What are the advantages of qtp? Diff between winrunner and Qtp?

3 Answers   Symphony,


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

0 Answers   Cognizant,


in which case & which method we can use "native" property of an object ?

1 Answers  


I have an application running in Linux server. I am reaching the application through emulators like telnet. My operating system at the client side is Windows XP. Using emulator I am connecting the Linux server and working on the application. Can I automate the testing of the software running in Linux server using QTP. In short, does QTP support the applications running in Linux servers.

1 Answers  


Explain Checking XML....

1 Answers   Crea,


what is meant by source control?

0 Answers   Ordain Solutions,


Categories