question

Igor S. avatar image
Igor S. asked ·

MozillaBrowser won't work at all

Hi,

I am developing a script on Agent Recorder and MozillaBrowser won't work at all. Everytime the script comes to the following line I receive an error:

Set mb = MozillaBrowser("Caption='Carrefour Soluções Financeiras'")

I have also tried using the following options with no luck:

Set mb = MozillaBrowser("")
Set mb = MozillaBrowser("FireFox MainWindow")

Could someone please help me understand what should I do in order to have this windows being propperly reconized? I need the mb variable so I can use WaitForSelctableText further down the script.

Regards,

scripting
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Yuriy L. avatar image
Yuriy L. answered ·

Hi Igor,

You are probably using a Firefox release not listed in the bottom table of https://community.dynatrace.com/community/display/PUBDCRUM/Supported+Browsers+in+DC+RUM. So, your choices are:

  1. Using one of the listed Firefox releases.
  2. Using Window instead of MozillaBrowser or MozillaWindow.
  3. Using Internet Explorer as a Web browser.

The first option is valid, of course, only in case your application can run in these (somewhat outdated) versions of Firefox. Likewise, you can use the third option only if your application can run in IE.

Thank you,

Yuriy

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

That was the case. Had to switch back to IE and scripts are now working fine.

Thanks a lot.

0 Likes 0 · ·
David N. avatar image
David N. answered ·

Hello Igor,

It looks like you need "variable = object.MozillaBrowser" in order to have the Mozilla variable work.

https://community.dynatrace.com/community/display/ENTSYM125/MozillaBrowser+Method

Thanks,

David Nicholls

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.