This one then:
Could you check if the value changes when you click the checkbox? I think you can simply click the checkbox and then re validate your selector. It should update the value.
with a get attribute function ?
It highlights the entire window of the app wth checked and unchecked
Yes, you should use the Get Attribute activity and use the value name âtextâ. Let me find you an example.
now i have managed to track down to the element, but when i hit the unchecked box it cant validate
get this on debugg
Strange, it should work Could you still try to tune the selector so that it is recognized?
If not, there might be one more option. You could try the screen scraping wizard and point it to the radio button with the option set to FulText:
The target attribute is called âtextâ, so we might be lucky here.
Not sure if i understand âtune the selectorâ How do i perfrom that ?
Youâve mentioned that when unchecking the box, it will no longer validate. Well, we need to find a mix of selector attributes that will validate on both checkbox unchecked and checked.
Dont know if this helps. But i tried this ( see image) and was setting a string as output
When i ran the version where the checkbox was checked the message box printed 0 Reparasjon
when i did it when the checkbox was unchecked it printed just Reparasjon
Hm think i made it work actaully. But its a very bad solution, so if you have a more safe and better one please do share
What i did was to make a if statement, because the message box prints either âReperasjonâ or â0 Reperasjonâ So i did a if statement where i said if âtextâ = â0 Reparasjonâ then its false else its true. Only thing i rly dont know if thats the case for the others or if this its so stable that i will work everytime.
Struggling with the next one now. The âSkadet rute: Frontute, Bakrute, Sideruterâ
Cant use the same approach there
It is definitely a method that will work, as long as the OCR engine keeps returning the same values.
I would definitely suggest the selector approach, as it should be doable. Please try the Screens Scrapping wizard with the Full Text option
Do you have a tutorial or a guidance of how it can be performed ? If you dont mind i can send you the file.
But dont know if its much help since you dont have the app window ?
I donât have a proper guide on hand. However, I would start like this. Focus on one checkbox. Then, open UiExplorer and get the selector for the field when it is unchecked. Copy it to Notepad. Then, check the checkbox and get the selector for the field when it is checked. Copy to Notepad.
Now, you basically should look for properties that are common between the two. With the selector that validates for both checked and unchecked field, you can then most likely use it with the Get Full Text activity to extract the status.
Ok thanks i will try to look into it