When running the TestNG xml file browser opens but link doesn't open

72 views
Skip to first unread message

Keertana Samayamantula

unread,
Oct 1, 2020, 1:19:50 AM10/1/20
to Selenium Users
Hi,

I have created some test cases and tried to run only one test case using xml file. Below is my XML file. When I run this the browser is triggered but the link is not opening. It works fine when I run this normally instead of XML.

Can anyone help me to fix this issue?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="All Products">
  <test thread-count="1" name="InsuranceHouse">
    <classes>
      <class name="E2E_Tests.MigrationAgent_Tests">
      <methods>
               <include name="MigrationAgentTest_ApprovedPolicy"/>
      </methods>
      </class>     
    </classes>
  </test> <!-- InsuranceHouse -->
</suite> <!-- Suite -->

Thanks,
Keertana

browserissue.PNG

Arvind Sah

unread,
Oct 2, 2020, 1:48:07 AM10/2/20
to seleniu...@googlegroups.com
Hi, 

It is due to compatibility issue between browser and driver. Try updating browser driver or use webdriver manager.

Regards,
Arvind

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/6fff4f46-d491-46be-a747-7538d7009311n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages