Ask a Question

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

techgirlbb
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
Marsha_R
Community Hero

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


Marsha_R
[Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
tristaanogre
Esteemed Contributor

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

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

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

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. 

 

 

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
cancel
Showing results for 
Search instead for 
Did you mean: