Hi team,
I have used get text to get the text login
And later I used if condition and put that login variable in if condition .
After I run it says option strict disallowed implicit conversion from string to boolean…
What is the variable type for get text ?
@Bhagyashree_S
Hi, the output type of get text is string
Yeah i tried that also …for string itself I am getting that error
@Bhagyashree_S
can you share what was the condition you have passed in if activity
I just gave the variable of get text …i.e loginbutton
If you want to just Verify Login Screen is Visible or not You can use Element Exist Or Check App State.
Or You want to Get the Text If you are facing Problem then you can try Get Attribule and Choose aaname or in Classic “text”.
Happy Automation.
@Bhagyashree_S
for if activity you need to put boolean values
Stroutput.equals(“login”)
or
Stroutput.contains(“login”)
pass this condition in if activity
system
(system)
Closed
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.