How to create script using VuGen - Live Demo

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 10

  • @sujitpatil5059
    @sujitpatil5059 4 года назад +2

    This video is really Informative specially those who want career in
    Performance testing. Thank you Nikhil

  • @yogeshyadav1283
    @yogeshyadav1283 4 года назад

    Hi Nikhil
    Thank you for very helpful and an Excellent session.
    Request you to create a hands-on session on ReadyAPI automation tool.

  • @pratheepkumar4218
    @pratheepkumar4218 4 года назад

    Hi , how to select cheapest price flight booking in random. It will helpful to me.

    • @performancetestinghub7684
      @performancetestinghub7684  4 года назад +1

      Hi, Thank you for your query. In general, we can do correlation for price (using function web_reg_Save_param_ex). While using web_reg_save_param, use option ordinal=All. this will capture all the values of flight price. Once we captured all the price values, then we need to compare and select which value to choose. Hope this helps.

    • @pratheepkumar4218
      @pratheepkumar4218 4 года назад

      @@performancetestinghub7684Hi Sir, yes it's correct . In logically how to write a script to compare after capture the value.

    • @performancetestinghub7684
      @performancetestinghub7684  4 года назад +1

      @pratheep Kumar - the script should be some thing like this.
      Declare variables in starting:
      int Flight_Count;
      int min;
      char Flight_2Char[100]; //This is important to declare as char
      int Flight_2Int;
      int i;
      then once you have captured the corelated value. use below code.
      Assuming Flight is the correlated parameter name;
      Flight_Count= atoi(lr_eval_string("{Flight_count}"));
      min=atoi(lr_eval_string("{Flight_1}"));
      for(i=2;iFlight_2Int)
      {
      max=Flight_2Int;
      }
      }
      lr_save_int(min, "MinValue");
      Then MinValue now is the Lr parameter which can be passed as required.
      Hope this answers you question.

    • @pratheepkumar4218
      @pratheepkumar4218 4 года назад +1

      @@performancetestinghub7684 thanks sir. Please do a session like this sir . It will help us to overcome the challenges.im non IT background.

    • @performancetestinghub7684
      @performancetestinghub7684  4 года назад +2

      Glad this solves your query, I will surely plan some session on Correlation in future. I hope you would have already subscribed to my channel so that you can get regular updates.