How to find the OS name by using QTP script?
Answer Posted / bfakruddin
I hope you know about Inbuilt Environment Variables...
So, Please go throw all Environment Variables... There, You
can get answer for it...
I can give exact answer here but you may not go throw all
environment variables... So, please go throw all inbuilt
environment variables and check what they perform...
It would be very helpful for your future tasks...
Thanks & regards
Baba Fakruddin.D
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
What is the use of running the scripts in Hidden-mode in UFT?
Can launch two instances of qtp on the same machine?
How to get popup error message.
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
What is action? How many types of actions are there in qtp?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
How will you handle java tree in qtp?
Explain different types of checkpoints?
Explain how to use QTP to check broken links on a page?
What is the qtp testing process?
What is the meaning Work bench?
What is the difference between per-action and shared?
What is the diff between image and bitmap check point?