Page 1 of 1

Need to validate Fading Text.

Posted: Wed Dec 04, 2013 7:09 am
by phani.2905
Hi all :) ,

I need to validate Success message which fades away in 5 seconds. But the issue is that, i am working through Remote Desktop and using Record and Playback method. By the time i click on Validate button and highlight success message in the application, it is fading away. Why does validate takes long time to highlight object.

Thanks in advance ,
A.R.Phanindranath.

Re: Need to validate Fading Text.

Posted: Wed Dec 04, 2013 2:35 pm
by krstcs
You could just click on the notification during recording and then change the action to a validation in Ranorex when you are done.

All you are really needing is the repository object for the notification toast, which will be created if you click it during recording. You can then use that repository object for the validation by dragging it into the proper place in the action table and selecting the type of validation you want. You could then delete the "Click" action.

Re: Need to validate Fading Text.

Posted: Tue Dec 10, 2013 12:41 pm
by phani.2905
krstcs wrote:You could just click on the notification during recording and then change the action to a validation in Ranorex when you are done.

All you are really needing is the repository object for the notification toast, which will be created if you click it during recording. You can then use that repository object for the validation by dragging it into the proper place in the action table and selecting the type of validation you want. You could then delete the "Click" action.
Hi,

:) Thanks for responding, You resolved my issue.

With Regards,
Phani

Re: Need to validate Fading Text.

Posted: Thu Jul 17, 2014 11:18 am
by phani.2905
Hi,

There is a success message which need to fade away after 5 seconds. For validating the non visibility of success message i used "Does not exist" property of the web element. But Ranorex says that element is present. It seems the success message gets hidden after 5 seconds, But Ranorex treats it as visible. Tried some other properties like Hideen , Had Focus etc. But could not succeed.

Can any one help me with this.

Thanks in advance,
A.R. Phanindranath

Re: Need to validate Fading Text.

Posted: Thu Jul 17, 2014 1:15 pm
by krstcs
Could you upload snapshots of the app when the item is both visible and not-visible?
http://www.ranorex.com/support/user-gui ... files.html

Without that it would be very hard for us to help because we don't have very much information about the actual application under test.