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 default ordinal identifier.what are the send keys in qTP.
Explain the concept of how quicktest professional (qtp) identifies object?
How can the name of a checkpoint be changed in Qtp
Is there any MS Access addin in QTP?
In Webtable New rows getting added, we have select the name as Sandeep ,If name column is sandeep then need to check the checkbox ,we don't know the rows and columns ,Can anyone please tell me the answer.
3 Answers Broadridge, Cigniti Technologies, HCL,
For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).
how to get font size of a "WebEdit"
how to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?
Maximum synchronizing time out in QTP
how can i call an external action,which is not added external action of an action?
Which scripting language used by QTP?
what is the difference between link and hyper link?