New answers tagged

0

Am also looking for a solution can you please help me 0 i Developed a Automation Selenium java program to non IT support guys where they need to simply update the data file with required input data and double click the jar file in order to run the program (this is fine) But i thought of creating a web page to the end user where he can enter the input ...


0

I think your repository is over its max size, probably you are checking in binary files and maybe libraries you download. Only check in your test code, not the dependencies. We recommend repositories be kept under 1.0 GB to help ensure that our servers are fast and downloads are quick for our users. Bitbucket Cloud repositories have a 2.0 GB limit. ...


0

Why not use a simple existing framework like testRigor? You can not only use the same language interchangeably, but it is very easy to build cross-web-and-mobile test cases. The test would look like this: login generate email and enter into "Email" enter "Password123" into "Password" tap "Sign Up" validate that email had been received check that page ...


2

Basically you do not even need to store your driver reference in page class field unless you access some driver-specific features within the logic of your page class (like accessing page title, window management, etc.) As to me the latter is better to take out (I consider using driver object within a page class methods as a sort of anti-pattern) of page ...


-1

Would need to see the Driver declaration on the Test Setup Base class to understand this completely. From my limited understanding, there are two reasons for this static usage: We only need a single shared WebDriver instance for the whole test. So, static Webdriver instance is shared and passed to all Page classes. Since a static object is passed to each ...


0

You can use base class driver instance by inheriting it , there you don't need static . Unless you trying to access driver instance without creating an object or doing inheritance , then you need static keyword. It's hard to tell why it's static without seeing the where all it's used


0

Yes, using layered architecture approach you can add a desktop targeting project into your framework in order to perform desktop testing. It's not integration Winium/WinappDriver with Protractor, it's using them along with each other, since they are not mutually exclusive.


0

You can create a batch file where you set all your environment variables. A batch file in Windows is just a text file with .bat extension, it could look like this: @ECHO OFF :: Assign all Path variables SET TEST="some env value" Then you execute it from the cmd: C:\Users\PavelSaman\Desktop>echo %TEST% %TEST% C:\Users\PavelSaman\Desktop>env.bat C:...


2

For anyone who is looking to create Test report using extent report : Here you go :) TestNg runner: package cucumber_Runner; import io.cucumber.testng.AbstractTestNGCucumberTests; import io.cucumber.testng.CucumberOptions; import org.testng.annotations.DataProvider; //Created a custom plugin @CucumberOptions(plugin = {"cucumberReport....


Top 50 recent answers are included