12-13-2012, 09:07 PM
Hi Elango,
Please go thru the following pseudo code. Please correct me if i am going wrong anywhere.
Test script1 @ D:\Tests\Automation\<AUT>\Test Scripts\<High Level Test suite>\
Test script2 @ D:\Tests\Automation\<AUT>\Test Scripts\<High Level Test suite>\<Low Level Test Suite>
Both of them use the function library @ D:\Tests\Automation\<AUT>\Function Libraries\AUTFunctions.qfl
Function GetAUTRootFolder()
GetAUTRootFolder= PathFinder.Locate("..\..\..\")
End Function
Above will give the path D:\Tests\Automation\<AUT> when Test script1 is run, but i think it will yield to D:\Tests\Automation\<AUT>\Test Scripts\ in case of Test script2 execution which is incorrect.
Please correct me if my understanding is wrong.
Thanks
Sams
Please go thru the following pseudo code. Please correct me if i am going wrong anywhere.
Test script1 @ D:\Tests\Automation\<AUT>\Test Scripts\<High Level Test suite>\
Test script2 @ D:\Tests\Automation\<AUT>\Test Scripts\<High Level Test suite>\<Low Level Test Suite>
Both of them use the function library @ D:\Tests\Automation\<AUT>\Function Libraries\AUTFunctions.qfl
Function GetAUTRootFolder()
GetAUTRootFolder= PathFinder.Locate("..\..\..\")
End Function
Above will give the path D:\Tests\Automation\<AUT> when Test script1 is run, but i think it will yield to D:\Tests\Automation\<AUT>\Test Scripts\ in case of Test script2 execution which is incorrect.
Please correct me if my understanding is wrong.
Thanks
Sams