In this bellow script QTP is not able to getting no. of
Links from my Browser.
Set desc=description.create
desc("micclass").value="Link"
Set
obj=Browser("creationtime:=0").page("title:=.*").childobjects(desc)
msgbox obj.count
I am getting "General Run Error".Why QTP is not supporting
my Browser,but its running fine in other system.Please help
me to overcome this problem.
Answer Posted / deshmukh navin kumar
If you are working with QTP10.0 then the browser supported
by the QTP tool are IE6.0,IE7.0,IE8.0,Netscape Navigator and
Mozilla FireFox. Mozilla FireFox needs some additional
configuration. So use one of the above browser only.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we write winrunner language i.e TSL in QTP tool?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
How you are developing the script? Using record and play back or manual?
How will you report the bug and explain the defect tracking sheet you handled?
What are the different types of recording modes?
What is the parameterization?
how can we do the frame work in qtp
What are the types of data tables in qtp?
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
Hi I'm a beginner in QTP. So far I'm ok with Descriptive but stuck while implementing Hybrid Frame work. 1. I have created a Keyword file with .vbs ext set home=description.create home("title").value="Welcome to feests" set reglink=description.create reglink("name").value="register yourrestaurant / take away" set fbusname=description.create fbusname("name").value="business_name" set dispname=description.create dispname("name").value="display_name" set restchkbox=description.create restchkbox("name").value="restaurant" set cuiscate=description.create cuiscate("name").value="cuisine_categery1" set addline1=description.create addline1("name").value="address_line1" set pstcode=description.create pstcode("name").value="address_postcode" set cntry=description.create cntry("name").value="address_country" set mlandno=description.create mlandno("name").value="landline_no" set emailadd=description.create emailadd("name").value="email" 2. I have created an Function Library file as follows Function launch() bro="C:\Program Files\Internet Explorer\iexplore.exe" url="http://www.feests.com/" invokeapplication bro&" "&url Browser(home).page(home).Link(reglink).click End Function Function restregistration(karthik, teja, Ameerpet, UK) Browser(home).page(home).WebEdit(fbusname).set "karthik" Browser(home).page(home).WebEdit(dispname).set "teja" Browser(home).page(home).WebCheckBox(restchkbox).set "ON" Browser(home).page(home).WebList(cuiscate).Select "Indian" Browser(home).page(home).WebEdit(addline1).set "Ameerpet" Browser(home).page(home).WebEdit(pstcode).set "UK" Browser(home).page(home).WebList(cntry).select "United Kingdom" Browser(home).page(home).WebEdit(mlandno).set "023775347" Browser(home).page(home).WebEdit(emailadd).set "email@gmail.com" End Function 3. This is how I have called the keywords and Functions in QTP executefile"C:\Documents and Settings\karthik\Desktop\keywords.vbs" executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs" launch restregistration karthik, teja, Ameerpet, UK, "email@gmail.com" Now the issue is, I'm trying to enter the email ID in WebEdit field. But I dont know what is the mistake I did, if I run the script in QTP it is showing following error Error: Expected identifier Line (2): "executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs"". Can someone help me fix this, please!!?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
How to create a standard checkpoint ?
Your roles and responsibilities and daily tasks? (As automation tester)
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com