cancel
Showing results for 
Search instead for 
Did you mean: 

TC 14 not able to recognize a frame on Chrome web page

SOLVED
Occasional Contributor

TC 14 not able to recognize a frame on Chrome web page

I am testing web application and at a certain stage TC 14 spy tool is not able recoginize frame which is payment transaction window poup. object browser is showing it as ["wndChrome_WidgetWin_1"]["Chrome_RenderWidgetHostHWND"]

I tried enabling  '*' option for MSAA (Current Project Properties|Open Applications|MSAA). But it did not help aswell. 

 

I have  attached screen shot and annotate the window which is not recognizable. 

 

How it should be handled  ? 

 

 

Please Help

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: TC 14 not able to recognize frame on Chrome web page

or use this code:

function Test()
{
  Browsers.Item(btChrome).RunOptions = "--disable-web-security --disable-site-isolation-trials --user-data-dir"
  Browsers.Item(btChrome).Run("https://onlinerecharge.zong.com.pk/OnlineRecharge/")
}

9 REPLIES 9
Community Hero

Re: TC 14 not able to recognize frame on Chrome web page

Hi,

 

According to the name (Chrome_RenderWidgetHostHWND), this is not a web page/element but a regular Windows window.

Do you have Desktop license and corresponding extensions activated in TestComplete or only Web license?

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

Re: TC 14 not able to recognize frame on Chrome web page

Hi

Could you give us the URL of this site?
or
Could you open this page in other browser(e.g. Firefox) and say how the popup window is determined in this browser?

Occasional Contributor

Re: TC 14 not able to recognize frame on Chrome web page

@AlexKaras  Yes I have a active Desktop license extension enabled

Occasional Contributor

Re: TC 14 not able to recognize frame on Chrome web page

 

 

url: Notneededanymore

enter number: 45454545 and other data and click recharge. Click again on next screen. Payment screen will show up.

 

Waiting for your repsonse. Thanks

Re: TC 14 not able to recognize frame on Chrome web page

Try to run Chrome with keys:

--disable-web-security --disable-site-isolation-trials --user-data-dir

https://support.smartbear.com/testcomplete/docs/app-testing/web/general/considerations.html?q=Consid...

Occasional Contributor

Re: TC 14 not able to recognize frame on Chrome web page

Jusr run the command line switches below but nothing happened

 

sommand line switches.PNG

 

Thats wat you meant by chrome keys right ?
"Try to run Chrome with keys:

--disable-web-security --disable-site-isolation-trials --user-data-dir"

Re: TC 14 not able to recognize frame on Chrome web page

commandline.png

Highlighted

Re: TC 14 not able to recognize frame on Chrome web page

or use this code:

function Test()
{
  Browsers.Item(btChrome).RunOptions = "--disable-web-security --disable-site-isolation-trials --user-data-dir"
  Browsers.Item(btChrome).Run("https://onlinerecharge.zong.com.pk/OnlineRecharge/")
}

Occasional Contributor

Re: TC 14 not able to recognize frame on Chrome web page

Thank you so much ! you guys are aswome as always Heart

New Here?
Join us and watch the welcome video:
SmartBear + Cucumber
Top Kudoed Authors