Answer / shrikant
By just creating a function you can achieve re-usability.
For example: 3 testers are automating an application. All 3 wanted to login. So instead of creating code by all 3 people only one person create login code in a function. That function can be used by other 2. This is also called Modular programming.
In all the web applications common web objects will be there like
6.check box----check in or out
etc........for all the objects make one generic functions add it in library files make use in all the actions this is called as re-useability.
|Is This Answer Correct ?||1 Yes||0 No|
How to export QTP results to an ".xls" file?
How do you move objects from local object repository to shared object repository???What are methods?
Hi all, can anyone tell me the challenges u faced while using qtp?
will QTP 9.2 run successfully on Linux(gui) operating system
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
how to choose the framework in qtp ? 2)when we go for the descriptive programming ?
i have data in excel sheet.i imported the data in data table.while doing parameterization,how the code knows it is a valid or invalid data?
Hi All, I am using QTP for one of the Desktop application which uses Keyboard inputs like 'Tab ,F7 etc' and also mouse (Click). After recording when i am running the Script ,it is not able to recognize the keyboard inputs like F7,Tab and mouse Click because of which either i have to skip that part or manually do the inputs. Please answer how can i make script more flexible so that it will recognize both keyboard and mouse operations.
How can we disable popup blocker?
If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
write is the code for regular expression in QTP
i m tryed to use qtp in a user registration form but at the "image enter"part it gives a error when i run the qtp bcz the image is changed every time so it gives a error when i use regukar expreesion fot this it still gives a error value bcoz it reads the image code bt nt reconige the image which i enter in the image verification text box.so hw can i automate qtp for this function.plz give me a answer