How to find the OS name by using QTP script?
Answers were Sorted based on User's Feedback
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 |
Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)
any one can explain about QTP proocess,means where to start and how to start Scripting.
. Types of properties that Quick Test learns while recording?
What is the difference between systemUtil and invoke method..?
Extract a word from a sentenece?
How can I import environment from a file on disk?
1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?
How should I get results when I run scripts in a Batch mode
what is the difference between QTP 8.0 & 9.0?
In what occasion we can specify global sheet and action sheet?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
what is the frame work your using in automation ?