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
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 |
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 |
What is the use of Debug Viewer?
how to merge object repositories in qtp for n different applications
.how will you load the object during runtime
1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?
Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine
If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP?
pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example
how to count the word "IS" is repeated in the application using DP
3 Answers DST Global Solutions,
Could we use QTP for java project(Which is develop in Netbeans and My SQL) otherwise which one is suitable?
How to find RAM size by using QTP?
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH
Discuss the QTP Environment?