How to find the OS name by using QTP script?




Answers were Sorted based on User's Feedback



How to find the OS name by using QTP script?..

Answer / srinivasulu

environment.value("OS")

Is This Answer Correct ?    27 Yes 2 No

How to find the OS name by using QTP script?..

Answer / 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




More QTP Interview Questions

suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

0 Answers  


hi testers,one script has three actions , at the of running three actions are running , how to set run only perticular action and what is the use of split the action? when it will be useful?

3 Answers   Syntel,


Hi All As per the requirements i have to copy the data from word document to excel sheet using the QTP Note : Data in word document is in tabular format i.e there is 80 rows and 5 columns table Can any body provide code for this ? Thanks in advance Regards Test123Test

1 Answers  


What is the registration process and examination fees?

0 Answers  


What is Curd testing?

0 Answers   Wipro,






what we do after completion of functional and regression testing

2 Answers  


Hi, I am new to QTP testing and was exploring the frameworks used for automation. I wanted help in writing various scripts and files for keyword driven automation like 1. Control File 2. Test Case File 3. Startup Script 4. Driver Script 5. Utility Script . etc It would be great if someone can give help in this context ... Thanks

0 Answers  


How can we use regular expressions for a table in web page, each cell in table having unique identification, Now I want to count number of rows in table and enter data in all cells of the table?

1 Answers   CTS,


pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?

1 Answers   Accenture,


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

0 Answers  


Explain features of the latest version of qtp/ uft 12.1?

0 Answers  


Do we have to Enable Smart Identification while running Or will it automatically be enabled ?

2 Answers  






Categories