Does oxygen provide record/play feature for window app automation?

I downloaded and installed Oxygen IDE 1.16.0 , and trying my hands with Windows Automation using ‘win’ module. But, unlike the record/play feature for both selenium and appium scripts which Oxygen provides, i can’t find way to use record/play feature for win app automation.
Is there any such feature? Can someone guide through it.

2 Likes

@Eran_Damelin @Eran_Damelin1

Hi ishudeep,

I just wanted to make sure that you are aware of the documentation page here:


This includes description of the win module in Oxygen IDE

We don’t currently have record/playback for Windows automation, but there is an Object Spy functionality. We’ll add that to our documentation shortly

Thanks,
-Amos

If you have an urgent need for a windows auomation tool with record/playback, a GUI and an SDK as well, you may want to take a look at freeware tool AutoIT v3 from autoscript.

You may use the recording capability inside Appium desktop the same way you record Oxygen Mobile
See the following page
https://docs.oxygenhq.org/getting-started-mobile/getting-started-mobile/recording-mobile-tests
And simply use a capabilities of Win in them
{
“app”: “Microsoft.WindowsCalculator_8wekyb3d8bbwe!App”,
“platformName”: “Windows”,
“deviceName”: “WindowsPC”
}

Here is an example for Windows calculator that can be executed in Oxygen with commands used in Oxygen
win.init({
//“app”: “Microsoft.WindowsCalculator_8wekyb3d8bbwe!App”,
app: “Oxygen IDE”,
platformName: “Windows”
});

win.click("~num1Button");
win.click("~plusButton");
win.click("~num7Button");
win.click("~equalButton");
win.assertText("~CalculatorResults", “Display is 8”);
win.pause(3000)

2 things you need:
You must install the winappdriver 1.1 on your computer


Make sure your computer is on Developer mode