cancel
Showing results for 
Search instead for 
Did you mean: 

Chrome browser_ navigating to "chorme://apps" after launching application

Highlighted
Contributor

Chrome browser_ navigating to "chorme://apps" after launching application

Hi I am working on salesforce application. Afterlauching the application, it is navigating to chorme://apps  page instead of executing the next action in the application.Not sure what being caused to naviagte to apps store.

please take a look at the posted screen shot of the script and guide where  I am doing wrong.

 

Thanks in advance

 

6 REPLIES 6
Highlighted
Community Hero

Re: Chrome browser_ navigating to "chorme://apps" after launching application

If you copy the URL that you have in that Navigate line and paste it into Chrome, where does it go?  

Highlighted
Community Hero

Re: Chrome browser_ navigating to "chorme://apps" after launching application

As @Marsha_R mentioned, there appears to be something else going on here.  

 

One thing of note, you don't need both "Run" and "Navigate".  The Run operation can contain the URL that you wish to open upon running the browser.  Try disabling the Navigate method and put your desired URL in the Run operation.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Contributor

Re: Chrome browser_ navigating to "chorme://apps" after launching application

It is launching the SF(Salesforce) application. so as test complete also. Next step is trying to search the account with account name. 

If click on run.. after lauching the application, instead of entering the inputvalue on the search, page navigating to Chrome://Apps...

Highlighted
Community Hero

Re: Chrome browser_ navigating to "chorme://apps" after launching application

Your screenshot shows both a Chrome.Run call and Chrome.Navigate call... my point was that you don't need both.  What happens when you put the desired URL in the RUN call, and disablte the Navigate call?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Contributor

Re: Chrome browser_ navigating to "chorme://apps" after launching application

Yes I agree, there is some thing going on in between. even I did check name mapping also.. nothing noticed with that url.

 

Robert,

 Intially I had only navigate operation in my scripts, I noticed it is taking long time to load the application,so added run and navigate both. In that way it loads and naviagtes. This is salesforce application.. seeing all kind of issues like delay in object identification, not identifying objects when playing back.. 

 

I have modifed as you suggested, and executed it. Not going to Chrome://Apps page.But erroring out with objects doesnot exists during the play back. 

 

 

Highlighted
Community Hero

Re: Chrome browser_ navigating to "chorme://apps" after launching application

OK, so, now we're on to a different issue, one much more common... timing.  I'm guessing that, at this point, it's probably a combination of object identification (needing more robust properties for mapping the objects) and timing (waiting for components/page loads).  This is where you spend time figuring out how the objects are being identified and working on fine tuning the mapping.  And then, working on actually WATCHING the script run, closely... figure out where there may be the need for smarter "wait" calls and judicial usages of WaitAliasChild.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors