Skip to content

Commit c862850

Browse files
authored
Addon Support for Windows Advanced (#36)
* Added WINDOWS_ADVANCED type * Added displayName * Updated Version * Added Windows Element Details * Bumped SDK Version
1 parent 11b56b1 commit c862850

11 files changed

Lines changed: 57 additions & 3 deletions

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repositories {
2828
}
2929

3030
group = 'com.testsigma'
31-
version = '1.2.19_cloud'
31+
version = '1.2.20_cloud_beta-1'
3232
description = 'Testsigma Java SDK'
3333
java.sourceCompatibility = JavaVersion.VERSION_11
3434

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ RELEASE_SIGNING_ENABLED=true
33

44
GROUP=com.testsigma
55
POM_ARTIFACT_ID=testsigma-java-sdk
6-
VERSION_NAME=1.2.19_cloud
6+
VERSION_NAME=1.2.20_cloud_beta-1
77

88
POM_NAME=Testsigma Java SDK
99
POM_DESCRIPTION=Testsigma Java SDK
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package com.testsigma.sdk;
22

33
public enum ApplicationType {
4-
WEB, MOBILE_WEB, IOS, ANDROID, WINDOWS, WINDOWS_UFT, MAC, REST_API, Salesforce;
4+
WEB, MOBILE_WEB, IOS, ANDROID, WINDOWS, WINDOWS_UFT, MAC, REST_API, Salesforce, WINDOWS_ADVANCED;
55
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.testsigma.sdk;
2+
3+
public enum ObjectType {
4+
SAP_BUTTON,
5+
SAP_CHECKBOX,
6+
UIA_BUTTON,
7+
UIA_CHECKBOX
8+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package com.testsigma.sdk;
2+
3+
public abstract class SapAction extends WindowsAdvancedAction {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package com.testsigma.sdk;
2+
3+
public abstract class UIAAction extends WindowsAdvancedAction {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package com.testsigma.sdk;
2+
3+
public abstract class WindowsAdvancedAction extends DriverAction {
4+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.testsigma.sdk;
2+
3+
import lombok.Data;
4+
import lombok.RequiredArgsConstructor;
5+
import org.openqa.selenium.Rectangle;
6+
7+
import java.util.List;
8+
9+
@RequiredArgsConstructor
10+
@Data
11+
public abstract class WindowsElement {
12+
private List<WindowsElementProperty> properties;
13+
private Rectangle boundingRectangle;
14+
15+
public abstract void findElement() throws Exception;
16+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.testsigma.sdk;
2+
3+
import lombok.Data;
4+
5+
@Data
6+
public class WindowsElementProperty {
7+
private String name;
8+
9+
private Object value;
10+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.testsigma.sdk;
2+
3+
public enum WindowsTechnologyType {
4+
UIA, SAP;
5+
}

0 commit comments

Comments
 (0)