Highlighted
Absent Member.
Absent Member.
201 views

how can i dynamically change the BOARDING POINT according to the bus

I have several buses with several  boarding points for each one. i have structed to get boarding points on each bus. i am getting default boarding points.

 

my concer is

 

Example :

 

Bus A have 1,2,3,4 boading points and bus B have 5,6,7,8 boarding points but when select the  bus B i am getting boarding points of Bus A(1,2,3,4).

 

so how can get bus B Boarding points(5,6,7,8)

 

 

My code here:

 

//<h2 class='TravelAgntNm' title='APSRTC'>APSRTC</h2><a href='javascript&colon;void(0);' rel='' class='canclbtn custom-width cancel' id='canclP249285670'>Cancellation Policy  </a>
  web_reg_save_param("Buses","LB=TravelAgntNm' title='","RB='>","ORD=ALL",LAST);

 

Random Function

 

lr_save_string(lr_paramarr_random("Buses"),"Buses1");
lr_output_message("The Selected Bus is ::: %s",lr_eval_string("{Buses1}"));

 

For Boarding Points:

//<option value="151^MARATHALLI (M) 8453415795  080 - 22971202 / 03 /04 /05 /06^07:45 PM^NEAR BMTC BUS STAND,MARATHALLI,BENGALURU-560037 +918453415795 , 080 - 25401882 , 42099909 SINOSH TOURS & TRAVES OPP  KALAMANDIR^^">MARATHALLI (M) 8453415795  080 - 22971202 / 03 /04 /05 /06-07:45 PM</option>
     web_reg_save_param("Boarding_point","LB=value=\"","RB=^^\">","ORD=ALL",LAST);

0 Likes
1 Reply
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: how can i dynamically change the BOARDING POINT according to the bus

Your LB and RB are not correct. Please change it appropriately. 


Thank you,
NaveenKumar Namachivayam | www.QAInsights.com
Learn TruWeb - my Udemy Course "Performance Testing using TruWeb" | https://www.udemy.com/performance-testing-using-truweb/?couponCode=YOUTUBE
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.