WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?
Answer Posted / kirankumar.y
fuction generater is library of statements which r used in
vb scripting
it is didved into three parts
1.fuctions,2.test objects,3.utility objects
fuctions example is iputbox,msg box,cint,cdbl
2.test objects example : get visible text,get ro property
3.utility objects:value,import,get row count
| Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
How to use parameterization in qtp?
What are the five challenges you faced in QTP?
How do client side image and server side image work?
can test automation improve test effectiveness?
What are the types of object repositories? Which one is you are using?
What is the descriptive programming?
What is the difference in testing a client-server application and a web application?
Explain the concept of how quicktest professional (qtp) identifies object?
Object repositories types, which and when to use?
Both static and dynamic arrays are handled by the vb script. Is it true?
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
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
Explain sub procedure of vbscript.
What is clean sweep?
Describe function procedure in vbscript.