Forum Discussion
Hi,
> I do not see google update Under Policies ?
Have you downloaded and installed the template as described in the Google document referenced in the article?
As for the second option, the key must be created manually if the key is absent in the registry.
Oh my mistake , I am now looking at this docs . Seem like I have to download template and then i can see the options.
Manage Chrome updates (Windows) - Google Chrome Enterprise Help
- Marsha_R4 years agoChampion Level 3
Here's some information about cross-browser testing.
https://support.smartbear.com/testcomplete/docs/app-testing/web/general/cross-browser/about.html
- AlexKaras4 years agoChampion Level 3
Hi,
> we are just copying the scripts and Name mapping .
In general, copying is not required and only browser name should be provided as a parameter.
However, depending on your tested web application and test code, script adjustments might be required to match browser specific.
- Marsha_R4 years agoChampion Level 3
The error messages are usually pretty targeted. What ever that line is looking for didn't happen fast enough for the test to see it.
You can test this by putting a Delay right before the line that failed. If that seems to fix it, then take the Delay out and adjust the failed line with the appropriate Wait
- AlexKaras4 years agoChampion Level 3
Hi,
> It appear randomly.
I have a guess that the error appears when the test is started when the tested site is opened in the browser. Can you confirm this? (Or, maybe, the opposite - the error appears when the test is started when the tested site is not opened in the browser.)
Scenario that I am guessing:
> var titlepage = Aliases.browser...
> ...
> BrowserConfig.killBrowserProcess(...)
> ...
> titlePage.WaitProperty(...);
As it is documented, Aliases uses late binding, resolves referenced object at first use and tries to cache it.
I think that titlePage variable keeps the reference been set initially and this reference becomes invalid when the browser is closed and reopened. Obviously, when test code tries to wait for the Visible property to become true for the empty object, this never happens.
My suggestion will be to:
a) Comment out the .RefreshMappingInfo() line;
b) move the var titlepage = Aliases... line of code to follow the LoginCredentials.basicAuthenticationKeyword(...) line.
Does this help?
P.S. BTW, JScript is a case-sensitive language, but you have titlepage and titlePage variables in your test code. Is this really so?
- Marsha_R4 years agoChampion Level 3
One thing from our side, if you don't give us all the details up front, then we have to keep guessing and you keep telling us no that can't be it. It works better for everyone if you give us lots of details first and then we can give a better answer. Thanks!
- Marsha_R4 years agoChampion Level 3
If what AlexKaras and I have suggested is not working for you, then contact Support directly with your question. Here's their link:
https://support.smartbear.com/testcomplete/message/
- nisgupta4 years agoValued Contributor
We have now started building Chrome tests.
We already have firefox tests. For chrome tests we are just copying the scripts and Name mapping . We make changes in script where we are launching browser just replacing firefox with chrome .
Is it the right way to do this ? Do we need to create name mapping again for chrome browser ?
Please update
Thanks
NG
- AlexKaras4 years agoChampion Level 3
Hi,
Any more details?
What operation failed? Anything in the Details log pane? Can you post screenshot of the test? Why 'error' message was manually logged just before?
Related Content
Recent Discussions
- 9 hours agoasantev2
- 19 hours agotorus
- 4 days agoSM1
- 4 days agocharifhamza