Check box issue

Hi

We are trying to uncheck the check in oracle EBS Application.we used check activity but it’s not working.the current selector image iam attaching here. Please help us in getting the “javastate” for the checkbox with Get attribute activity.

Thankq
Aman sheik

1 Like

Hi @aman_sheik

You can indeed do the check by using the Get Attribute. All you need to do is to indicate the element and get the attribute of the “javastate”.
It will return the string, such as on your screenshot:
“enabled,focusable,visible,showing,opaque” for the checkbox that is not checked and probably
“enabled,focusable,visible,showing,opaque,checked” for the one that is checked

To base a decision on that, you can then use a simple .Contains method on your string:
yourString.Contains(“checked”) → this will return either True or False, depending if the checkbox is checked or not :slight_smile:

Hi
are you getting any error on this ?
if you get error with selector in oracle application better to go with click image.
i also faced these type of issues while i was automating some oracle related application, at that time i have done everything as citrix automation by clicking images and sending hotkeys.
so better to go with automation with images.

Thankq @loginerror.
Actually we tried this one but iam not getting any javastate value.we tried in write line activity to check it’s not showing anything. Can you please share a sample file to get the javastate value.

Thankq
Aman sheik

1 Like

You might need to play around with the selector. Unfortunately I don’t have access to the java application that would still allow me to provide you with an example :frowning:

Edit.
I found an older thread that might help you :slight_smile: It has a sample java app provided by the user :smiley:

2 Likes

Thanks a lot @loginerror…it’s worked with get attribute “javastate”.:smiley:

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.