RE: How to open the application without providing login crdentials using TestNG?
Here is my scenario:
In TestNg suite we are providing some test cases in that while executing testcases,for first test case browser is opening and when it calls second test case again the browser is opening and asking login credentials .Is there any way pls provide solution.
thank you.Im explain what my intention .Here is my scenario:
i wrote two test cases like in that it having two icon links like add company and manage companies
>I wrote one test case for add company .
>second test case for managecompanies
>Then i created one test suite
>When i execute the test suite first testcase having login crdentials which should be given in first test case
>While it calls second test case a new browser opens and again it asking login crdentials to click manage companies.pls provide any solutiotion to call the managecomapnies without login functionality