How to create Userdefined Function.Please write the steps
ans also provide example where exatcly we use it.
Answer / chandu
Hi,
u can create user defined functions in notepad by saving
the file with .vbs extention.
eg:
public function add
x= 20
y= 30
z= x+y
msgbox z
end function
paste the above code in notepad and save it as .vbs ext.
then go to QTP file>settings>resources tab
add the .vbs file there. and then write-- call add---in ur
QTp editor.the use of this is u can reuse the same function
wherever u want. so u can call it multiple times in ur
test.
Is This Answer Correct ? | 5 Yes | 0 No |
one page contain next button.when we enter that its not going to next page.what type of error that one.
How to handle the exceptions using recovery scenario manager in QTP?
what will be there in keyword view and expert view?
How to find the OS name by using QTP script?
how to find that tools work well with your existing system?
what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?
how can u find the syntax errors or other script errors in your test during the execution of your QTP Test - (i.e., not after the execution/test run finished, but before finishing the test run)
How can we retrieve the links from a web page where links are dynamically changing(for eg take a online shopping website) and then we have to click on all the links present in the webpage and go to the repective pages and again come back to the first page..
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
Hi,EXCEL SHEET AND DATA TABLE . BOTH ARE SAME OR NOT?
What is the Difference between test object and run time object?
What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.