Hi,
what is the best practice to do validation a web page where is a lot of text fields and check box.
I need to validate the all the options are there and default values & ticks are correct.
Do I need to go through all the fields one-by-one and select "inner text" and "checked"?
I do not want to validate an image; or is it the only option if not want to go through all the options one-by-one?
Validate web page texts and settings
Re: Validate web page texts and settings
Can I somehow use this:
Advanced Validation - Whole Table in Web
This sample shows how the content of a whole web table (HTML tag table) can be validated at once. Therefore the table has to be passed as a parameter. Additionally the filename of a Ranorex Snapshot needs to be provided which will act as a reference and defines the expected content of the web table.
If yes, I take a snapshot of the page and pass it as parameter to here:?
public void Validate_WebTableContentEqual(Ranorex.Adapter repoItem, string filename_ReferenceTableSnapshot, string customLogMessageOverall, string customLogMessageDetail)
And how to cope when there is always a small difference...
Advanced Validation - Whole Table in Web
This sample shows how the content of a whole web table (HTML tag table) can be validated at once. Therefore the table has to be passed as a parameter. Additionally the filename of a Ranorex Snapshot needs to be provided which will act as a reference and defines the expected content of the web table.
If yes, I take a snapshot of the page and pass it as parameter to here:?
public void Validate_WebTableContentEqual(Ranorex.Adapter repoItem, string filename_ReferenceTableSnapshot, string customLogMessageOverall, string customLogMessageDetail)
And how to cope when there is always a small difference...