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

whaht is the difference between CLASS & OBJECT?

3 Answers   Accenture,


What are the challenges u faced in testing with crm domain? How u overcome with?

0 Answers  


where the check points are stored ?

3 Answers   IBM,


What is the difference between gettoproperty and settoproperty?Explain with an example?

4 Answers   QQS, Satyam,


Explain about reusable actions?

2 Answers  






what is the test process followed for your project?

1 Answers   ADP, Satyam,


How to retrive data from a data table which is in 3rd row,4th column and place it in main script..like retrive name,date from data table..write script for this.

11 Answers   Thatavarti Technologies,


in real time when we are creating the script by default it is going to save in action object repository or not any way my question is in one of my interviewer said that in real time the default object repository is action object repository and by using quick test plus they are going to merge is it correct i said that by selecting the object repository as shared one in selecting the test>>settings>>resources but she is not convinced what is the correct one

1 Answers   DigiTech, Infotech,


how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!

0 Answers   TCS,


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

0 Answers   IBM,


how to identify the objects if application consists of objects that have same properties.

4 Answers  


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


Categories