Ask a Question

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

SOLVED
ijaz5
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

9 REPLIES 9
AlexKaras
Champion Level 3

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 Champion]
____
[Community Champions] 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. Posts made by [Community Champions]
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.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
IStaroverov
SmartBear Alumni (Retired)

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?

ijaz5
Occasional Contributor

@AlexKaras  Yes I have a active Desktop license extension enabled

ijaz5
Occasional Contributor

 

 

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

IStaroverov
SmartBear Alumni (Retired)

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...

ijaz5
Occasional Contributor

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"

IStaroverov
SmartBear Alumni (Retired)

commandline.png

IStaroverov
SmartBear Alumni (Retired)

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/")
}

ijaz5
Occasional Contributor

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

cancel
Showing results for 
Search instead for 
Did you mean: