Running Oxygen tests through IntelliJ ide

I have a page object framework where I wrote my function with Oxygen calls in one js module, like below:

module.clickObject = function (name) {
driver.click(’[title="’ + name + ‘"]’);
driver.pause(1000);
return this;
}

I call this function in my main test script. Oxygen IDE freezes when I try to debug my main test script. I’m more accustomed to Intellij, but I don’t know how to run oxygen from this IDE. Is it possible to run oxygen in Intellij?

They key I found here is to use the iterations of the ide. Although inconvenient we are not on CLI. The best thing in IDE now is to use it with a csv where columns are broken up by carriage returns:
name
1
2
3
Iterate 3 times.
It does not hang in these instances.

1 Like

If you want each test to have different data it looks:
name,variable1
1,google.com
2,amazon.com
3,oxygenhq.org
In the main file to access it would be this:
log(’${name}’)
open(’${variable1}’)

1 Like