can u explain about QTP Frameworks? what are the framework
types are available? and How to set or create frame work for
a application? Explain briefly?(Also give me one example)
Answer / sangeeta
Framework is some set of guidelines followed in automation
projects to achieve better
readability,maintainability,scalability and reusability.
There are following types of frameworks:
1)Data driven framework
2)Functional decomposition framework/modular framework
3)keyword driven framework.
4)Linear Framework.
5)Hybrid framework.
6)Business Process Framework.
to create a framework you need to create a driver file which
drives the complete framework activity.
the flow of a hybrid framework will be like this
driverfile->initialize global variables->launch qtp and does
settings->launch application->opens the regression suit and
checks the status of test scripts and runs the
scripts->associate OR and library files->takes the required
data->performs action on application and stores the
result->at the end closes all the instances and send mail.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about reusable actions?
How to use the object spy in quicktest professional 8.0 version?
Give the syntax to load function at run time.
what is Business Process Testing plz explain?
What is keyword view?
How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2
Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.
Differences between quicktest professional (qtp) and winrunner?
How to open a new test using QTP?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
What are the Features & Benefits of Quick Test Pro ?
Can anyone explain me about child objects in detail;when they are used and why do we need them ? please give me sample code for this if possible.