how to write code: to check whether the window of an
Application Under Test exist or not . plz give with example
Answer Posted / saleh
I can show you with an example:
Dialog("Login").Exist
if it returns true then you can say that the above object
exists else not. For QTP you can write as below:
msgbox Dialog("Login").Exist
if it is true then ...........
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the technology used by vb script?
Mention how you can call vbscript functions?
Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble
How can you create a file object to work with the files in the vbscript language?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
How will you get a subset of a array in vbscript?
Explain what is loose binding? Why is it not a good practice to use it?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
How to open a file. What is the perpose of true and false mode there?
What is vbscript language used for and which earlier language is it modeled upon?
What is loose binding? Why is it not a good practice to use it?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
How to replace junk code recorded by QTP with a mall function.