Ask a Question

Scripts does not execute properly on another PC with internet explorer 11: Need to remove IE 32 bit

SOLVED
smaillou
Occasional Contributor

Scripts does not execute properly on another PC with internet explorer 11: Need to remove IE 32 bit

Hi,

Both PC are with windows 7 pro with IE 11.

Script that I create on one PC does not execute properly on another machine.

I have discover that on the other machine I need an extra index on the web page. Sometimes not. It changes randomly

 

The first PC

Sys.Browser("iexplore").Page("http://" + IP + "/").Panel(0).Panel(1).Link(0).Click()

The second one

Sys.Browser("iexplore").Page("http://" + IP + "/", 1).Panel(0).Panel(1).Link(0).Click()

 

On the second one I have 2 process internet explorer. one 32 bit and another 64 bit.

iexplore.exe

iexplore.exe *32

 

How do I get rid of the 32 bit version??

 

Thanks. 

Help is appreciated.

22 REPLIES 22
smaillou
Occasional Contributor

 

I just tried with name mapping and on the second pass I get "Page object not found"

 

and a choice of 2 page which none is good

tristaanogre
Esteemed Contributor

What do you mean "second pass"?


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
smaillou
Occasional Contributor

Run the script a second time.

 

I put the script in a loop to see if it performs well multiple time

tristaanogre
Esteemed Contributor

You're not closing the browser each test...  So, basically, what's happening is that each time through the loop, your browser is opening another tab for your website.  Close the browser at the end of the loop and see what happens.


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
smaillou
Occasional Contributor

I did not see any physical tab added.

 

But true opening and closing sure seems  to resolve the issues. But I dont want to close browser each time I want to change web page

 

Will have to investigate more. But sure I would like to have the 32 bit version gone! 

You don't need to close the browser every time you change pages, but if you're going to repeat the test and have the same page open over and over again you do.  You need to close everything at the end of your test so there's only one copy of each page open while the test is running.  Run test, cleanup pages, repeat test, cleanup pages, etc.


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
smaillou
Occasional Contributor

Well, using navigate to change the URL is not opening a page! I dont see multiple page on the monitor. SO the script must be right. Unless I dont understand the process.

 

and further more without scripting just observing the object with the object browser. Navigating manually with the mouse. visiting a page 2 times will create the index on any visited pages on that pc only with 2 IExplorer 32 and 64 bit.

 

 

Object browser is showing only one process with one page but with an index which is strange because there is only one page. And this index 

 

 

 

 

This is what I do in my sample script. And it is working very well in the first PC. But when I execute in the other one with 2 internet explorer, 1 32 and one 64 bit. that where I get the index of 1  that make the script working strange.

 

I would like to eliminate the obvious extra 32 bit explorer.

Have you gone through all of the steps in the preparing IE documentation?

 

https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/internet-...


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
smaillou
Occasional Contributor

Yes, 3 times at least in case I had forgotten something!

 

 

Anyway you can zip up your project folder and link to it? Would be much easier to see your exact setup then trying to guess at it. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
cancel
Showing results for 
Search instead for 
Did you mean: