if i want to check text on the status bar how to test is
i need the report also after getting the result weather it
is matched or not?
Answer Posted / praveen
We can use getvisibletext method to capture the text on the
status bar. Store the capture text in a variable.
syntax: Variable=object type("Object Name").getvisibletext()
By using following conditional statement in the script we
can check the text and report if is success or not.
If variable= "text" Then
reporter.reportevent micpass, "Text Captured", "Same"
else
reporter.reportevent micfail, "Text Captured", "different"
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
How is UFT 11.5 version different from UFT 12.0?
What is reusable action?
how to acess a test in RSA?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
Can any suggest me what is exposure testing?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
what is object and child object.. explain ..if possible give some example for better understanding ..
In qtp, how you can remove the spaces from string?
Is it possible to use two instances of UFT on the same machine? If not why?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
Which environments does qtp support?
tell me abt a time when u had to go above &beyind the call of duty to get the job done