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

Answers were Sorted based on User's Feedback



When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / kalpesh

i had the same problem with internet explorer and i solved
it by unchecking the protected mode option in the internet
explorer i.e go to internetexplorer right click and select
internet properties then click on security tab in that
uncheck the enable protected mode option. i am not sure
about firefox but

Is This Answer Correct ?    4 Yes 1 No

When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / murali raju

you should open webbrowser after launching qtp...then it
will be correctly recognizes ...

Is This Answer Correct ?    3 Yes 1 No

When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / ravi

First check weather Web add-in check box is selected in add-
ins list or not.If not, select web add-in before and goto
automation->record&run setting->select web and click on
record any openbased application radio button.

Is This Answer Correct ?    2 Yes 0 No

When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / priya

I solved this issue on Internet Explorer by :
1. checking web add-in in the main dialog as mentioned by
others.
2. At the Control Panel>> User Accounts, Uncheck the box
labeled "Use User AccountControl (UAC) to help protect your
computer"

Is This Answer Correct ?    1 Yes 0 No

When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / 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

When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / shilpa reddy

one thing to be observe is that wheather u have license
inorder to test web application.option web should be added
in ur addin manager list,if u dont have that facility u
should get license from merrcury.

Is This Answer Correct ?    2 Yes 2 No

When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / guest

Windows Vista version is not supported to instal QTP

Is This Answer Correct ?    3 Yes 3 No

When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / sailaja

restart the qtp and on the welcome page check the web
addin .this is the sol fo ru r prob

Is This Answer Correct ?    3 Yes 3 No

When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / nnr

Hi Kalpesh,
I really thank u for ur answer ,Keep posting ur valueble
answers
RAJU

Is This Answer Correct ?    0 Yes 0 No

When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of ..

Answer / guest

Firstly you need to make sure Web-Addin is enabled.
Secondly Open AUT after QTP.

Most important this is you cannot record on Mozilla Firefox,
you can run the recorded scripts on mozilla firefox.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

1 Answers   Wipro,


Explain the Keyword View ?

2 Answers   Crea,


How can i Save the snapshots in a specified folders using Scripting in QTP?

1 Answers  


Hi im new in Testing..can any one plz re-write this code SystemUtil.Run "C:\Program Files\Mozilla Firefox\firefox.exe","","C:\Program Files\Mozilla Firefox","open" ----using for loop(for i=0;i<=10;i++ )

2 Answers  


How to Test the mainframe application?(tell me few basic things)

3 Answers  


What is the difference between Recover Scenario(screen) and on Error Resume Next(code)

4 Answers  


Explain the new feature of UFT regarding the export of test results?

1 Answers  


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!!?

1 Answers  


Please give me the steps to carry out datadriven in QTP8.2

2 Answers  


I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?

12 Answers  


What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?

2 Answers   TCS,


Do you have any knowledge about Business Processing Testing in QTP

1 Answers   TCS,


Categories