my goal is to refresh a web page and check if specific text exists (validation) and if the validation fails i want the record to go out of the loop and proccess the next recording.
this is the basic user code i'm getting after convert this two steps
public partial class Recording2
{
/// <summary>
/// This method gets called right after the recording has been started.
/// It can be used to execute recording specific initialization code.
/// </summary>
private void Init()
{
// Your recording specific initialization code goes here.
}
public void Key_Sequence2()
{
}
public void Validate_SignUpHereForInformationOnUpcoming()
{
}
public void Validate_SignUpHereForInformationOnUpcoming2()
{
Report.Log(ReportLevel.Info, "Validation", "Validating Exists on item 'NBAFinalsMiamiHeatVsSanAntonioSp.SignUpHereForInformationOnUpcoming'.", repo.NBAFinalsMiamiHeatVsSanAntonioSp.SignUpHereForInformationOnUpcomingInfo);
Validate.Exists(repo.NBAFinalsMiamiHeatVsSanAntonioSp.SignUpHereForInformationOnUpcomingInfo);
}
public void Key_Sequence3()
{
Report.Log(ReportLevel.Info, "Keyboard", "Key sequence '{F5}'.");
Keyboard.Press("{F5}");
}
public void Key_Sequence()
{
Report.Log(ReportLevel.Info, "Keyboard", "Key sequence '{F5}'.");
Keyboard.Press("{F5}");
}
public void MergedUserCodeMethod()
{
#region --- Merged from "Key_Sequence()" ---
Report.Log(ReportLevel.Info, "Keyboard", "Key sequence '{F5}'.");
Keyboard.Press("{F5}");
#endregion
#region --- Merged from "Key_Sequence3()" ---
Report.Log(ReportLevel.Info, "Keyboard", "Key sequence '{F5}'.");
Keyboard.Press("{F5}");
#endregion
#region --- Merged from "Validate_SignUpHereForInformationOnUpcoming2()" ---
Report.Log(ReportLevel.Info, "Validation", "Validating Exists on item 'NBAFinalsMiamiHeatVsSanAntonioSp.SignUpHereForInformationOnUpcoming'.", repo.NBAFinalsMiamiHeatVsSanAntonioSp.SignUpHereForInformationOnUpcomingInfo);
Validate.Exists(repo.NBAFinalsMiamiHeatVsSanAntonioSp.SignUpHereForInformationOnUpcomingInfo);
#endregion