18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Regular expression in drag & drop instruction
Hi,
I have an instruction like this
_dragDrop(_span("cperez.Test.W2K (2 GB)"), _span("VSHARP_SATA_02 (587 GB Free)"));
which works perfectly. But the second part there is a problem, the number change constantly, so how can I put a regular expression to avoid putting the number?
Regards
I have an instruction like this
_dragDrop(_span("cperez.Test.W2K (2 GB)"), _span("VSHARP_SATA_02 (587 GB Free)"));
which works perfectly. But the second part there is a problem, the number change constantly, so how can I put a regular expression to avoid putting the number?
Regards
This discussion has been closed.
Comments
_dragDrop(_span("cperez.Test.W2K (2 GB)"), _span("/VSHARP_SATA_02 (.* GB Free)/"));
Bye