18 January 2026:


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.

Random results under Linux CentOS

smitty1_2smitty1_2 Members
edited November -1 in Sahi - Open Source
Sahi v3.5_0525
Firefox 3.6.17
CentOS 5.6

Please note: I am running CentOS in VirtualBox as a Virtual Machine.
Running scripts via controller or ant on CentOS gives me random results. Sometimes it just skips a part of the script, sometimes it works fine. Example:

Grid looks like this:

Add to Basket | ... | ... | ....
Add | ... | ... | ....
Add | ... | ... | ....
Add | ... | ... | ....
...


Method looks like this:
while(_exists(_div($j, _under(_div("Add To Basket")))) && _getText(_div($j, _under(_div("Add To Basket")))) == "Add") {
        $j++;
}

I am doing this to get kind of a rowcount in an AJAX grid. The variable $j has values from 0 to 7, randomly. 7 is the right value, this grid does not change its size.
On the same Firefox version under Win7 it always works fine. Any ideas?

Kind regards
Sign In or Register to comment.