When I start recording any web application (either Mozilla
or IE) QTP recognizes window instead of browser and also it
does not show all the hierarchy tree of that particular web
page.
1. Window("Mozilla Firefox").Check CheckPoint("Mozilla Firefox")
2. As everybody knows it should be
browser("Mozilla Firefox").Check CheckPoint("Mozilla Firefox")
I am using the windows vista, do you think it may be a
problem of my settings in QTP or problem of my installation.
Your kind responses will be appreciated.
Thanks in advance.
Satya
Answer Posted / ramanjaneyulu
Solution : In windows 7
The solution to the problem was turning the setting “Enable Protected Mode” off in Internet Explorer. To do this perform the following steps:
Mode” off in Internet Explorer. To do this perform the following steps:
1. Open Internet Explorer
2. Select “Tools > Internet Options”
3. Click the Security tab
4. Make sure “Enable Protected Mode” is unchecked so that it is off(as shown below).
5. And at last don’t forget to restart your IE. Thats it !!
Solution: VISTA
In vista you need to Off user control option .To off the user control option follow the following steps.
Click Start >Control Panel>User Accounts and Family Safety>User Accounts and uncheck the Turn User Account Control On or OFF option
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
What are the recording modes in wave event?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
What are the various automation frameworks available in qtp?
Explain the concept of object repository and how QTP recognizes objects?
Connect to QC using AOM.
Can we write winrunner language i.e TSL in QTP tool?
Can we record an application running on a remote machine using qtp?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
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!!?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
How do you capture tooltip using QTP?