Answer Posted / uday
You can use SystemMonitor utility object.
You can find the info at below link.
http://hpsqtp.blogspot.com/2012/02/how-to-find-memory-usage-and-processor.html
Another way is using Windows WMI Service.
You can find details at below link.
http://hpsqtp.blogspot.com/2012/11/how-to-find-cpu-and-memory-usage-using.html
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
give me an example where u used good judgement and logic in solving a problem
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
what is the difference between built-i function and In-built function?
regular expression in qtp standar check point for months from accepting months from january to december only
What are the different types of recording modes in qtp? Which will be used when?
desribe a situation where u faced a stressful situation and how did u cope with it
What are the views available in quicktest professional (qtp)?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
What is data driver in qtp?
What is Unicode Compatibility?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
What are the types of data tables in qtp?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
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