How to record objects of Windows taskbar

Answers were Sorted based on User's Feedback



How to record objects of Windows taskbar..

Answer / sreeprasad

The best way to record the windows taskbar is "Analog

Recording Mode".

Because the Analog Recording enables u to record the exact

mouse & key board opertions u perform in relation to either

the screen.In this recording mode Quick Test records &

track every movement around a screen or window.

Is This Answer Correct ?    10 Yes 1 No

How to record objects of Windows taskbar..

Answer / uday kumar_anem

' Launch the Task Manager window
SystemUtil.Run "taskmgr.exe","", "","open"

Dialog("Windows Task Manager").WinTab
("SysTabControl32").Select "Processes"
Dialog("Windows Task Manager").WinTab
("SysTabControl32").Select "Applications"
Dialog("Windows Task Manager").WinMenu
("Menu").Select "Options;Hide When Minimized"
Dialog("Windows Task Manager").WinMenu
("Menu").Select "View;Refresh Now"

Is This Answer Correct ?    4 Yes 5 No

Post New Answer

More QTP Interview Questions

what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


HOW do we find a datasheet when there are 4 datasheets in data table.this question was asked by covansys interview.

5 Answers   CTS,


What is the use of running the scripts in Hidden-mode in UFT?

0 Answers  


How many test scripts are prapare in ur project(HeathCare Insurance).

1 Answers   Virtusa,


wht type of User defined functions or Java Releated functions Do we write in VB scripting

0 Answers  


how we can do web browser using parametarisation in QTP ?

2 Answers   Efextra, Kanbay,


When i use paramateriztion for tickets in flight reservation application , the tes'll run for first iteration but for the second iteration it'll give this details, but the second iteration is failed. Pls anyone clarify it. Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.

2 Answers  


Explain about merging of two repositories?

3 Answers  


how to load the *.vbs (or) test generating script in a new machine?

3 Answers   Ordain Solutions,


Why bpt?

0 Answers  


I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

0 Answers  


There is one login screen,after accepting valid username and apassword, it will show the next screen. In the 2nd screen u r having 2 combo boxes, U have to select any item from these, and click OK button. After closing that, it will show the 3rd screen. If u click CANCEL button from 2nd screen it will show the first screen. Write QTP script for it???

1 Answers   Sonata,


Categories