How to test menu options using qtp
Answers were Sorted based on User's Feedback
Answer / sudha
Can you specify what exzactly u want to check in menu ?
Mostly we check wheter the menu option is exist or enable:
window("name").winmenu("name").exist(2)
OR
rc = window("name").winmenu("name").GetROProperty
("Enabled")
above command will return TRUE if menu is enabled elase
FALSE
| Is This Answer Correct ? | 6 Yes | 0 No |
WHAT IS THE SIZE OF OBJECT REPOSITORY USING IN YOUR COMPANY? Can any body tell me answer of this quation........
How many actions we can write in a test?
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.
I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.
what is the use of Browser.sync()
how to automate standalone infopath forms using QTP? (it is not a dotnet or a web form)
We need to verify the user name & password in for the user validation. But we don't want to use the parameterization/ loop for user name and password. What is the way in scripting so that user & password will generate automatically.
How to capture a window in QTP?
did you perform retesting(DATA DRIVEN test) using functions with out using datatable methods how can you perform retesting using functions
what frame work you are following?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
how to create the varibles and how these are connect to qtp? plz tell me