Navigation

    SOFTWARE TESTING

    • Register
    • Login
    • Search
    • Job Openings
    • Freelance Jobs
    • Services
    • Conferences
    • Courses
    1. Home
    2. Demir
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Demir

    @Demir

    3
    Reputation
    15
    Posts
    5
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Demir Follow

    Best posts made by Demir

    • RE: Correct way to check server response data (pytest)

      I usually make the expected and actual tuples, and I compare them.

      expected = ('john doe', '1111', 'something', True)
      actual = (
           response ["user"],
           response ["objects"] [0] ["id"],
           response ["objects"] [0] ["event"] [0] ["type"],
           response ["reached"]
      )
      assert expected == actual
      

      Run pytest with the -v switch, then it will clearly show which elements in the tuples are not equal.

      posted in API Testing
      Demir
      Demir
    • RE: Wait until a page with JQuery is loaded in Selenium Webriver

      You can use ExecuteScript and javascript to handle JQuery:

      var driverWait = new WebDriverWait(Driver, TimeSpan.FromSeconds(5));
      driverWait.Until(d => (long)js.ExecuteScript("return jQuery.active") == 0);
      
      posted in Automated Testing
      Demir
      Demir

    Latest posts made by Demir

    • How to find the Browser rendering time for API in jmeter overall response time?

      I have to do a performance test for application(It has UI) ,It has API requests ,how to find the browser rendering time for APIs , can we do it with retrieve embedded resource. I am quite new to this ,Can someone please guide me.

      posted in Performance
      Demir
      Demir
    • RE: Is there a way to search the “data-ftjson” of an HTML element using Selenium for Python?

      add the class name of your "a" element. In order to get an attribute value, you can use the method "get_attribute("element_name")

      linkElement = driver.find_element_by_xpath("//a[contains(@class,'THE CLASS NAME')]")
      attributeValue = linkElement.get_attribute("data-ftjson")
      stringElement = "\"newreq\":\"yes\""
      
      if (stringElement in attributeValue):
      #do something
      else:
      #do something
      
      #or by json for this you need to import json
      jsonValue = attributeValue['newreq']
      
      if jsonValue == 'yes':
          #do something
      else:
          #do something
      
      posted in Automated Testing
      Demir
      Demir
    • RE: What is the difference between Retesting and Regression Testing

      Retesting is testing this tast cases which failed and bugs were solved.

      Regression tests are test which check if added or changed functionality not caused faults in existing code.

      In your case retesting will be 50 in Module A and 40 in Module B.

      It is hard to say how many regression tests do you need but in such a situation (many test cases failed) probably you need to test all test cases. In general you do not test everything in regression.

      posted in Manual Testing
      Demir
      Demir
    • RE: What could be the reasons for taking more time while doing automation testing than manual testing?

      Automation is one time activity in terms of creating script where manual we have to perform often. While automating activity, we have to be very careful about the locators, functions, utilities, compatibility which consume times.

      Prior logic should be clear before implementing what we gonna automate. In manual, we have to just pass valid /Invalid data and check the output. It does also based on the performance of the web site as well.

      Clear understanding about the automation can only help to do automation speedy. Hence manual is more preferable in terms of saving time if you are new to automation. Identifying scenarios to be automate will take some time as well.

      posted in Automated Testing
      Demir
      Demir
    • RE: Do you think Manual testing is dying or it is evolving?

      I would sum it up thusly:

      • Automated tests are for finding the problems that you know about (incorrect code).

      • Manual tests are for finding the problems that you don't know about (incorrect design/specs).

      If you use manual tests to find problems with the code, that is inefficient. If you use automated tests to find problems with the design, that is inexcusable.

      posted in General Discussion
      Demir
      Demir
    • RE: Share your best Ideas about QA Process

      Unless you have a very low issue rate, use a database to track issue.
      Make the QA process interesting by getting developers to do TDD (Test-Driven Development). It's good for them, and it gets rid of the stupid bugs.
      Automate tests.
      Get QA involved in the product from the beginning, not just the last 2 weeks.
      Give them power. QA gets to decide when the product is ready to ship.
      Give QA a real career path.

      posted in Manual Testing
      Demir
      Demir
    • RE: How to get tags values in Protractor?

      Tags can be referenced as follows:

      element (by.tagName ('a'))
      

      or

      $ ('a')
      

      If you need to check the text inside the tag for compliance:

      expect (element (by.tagName ('a')). getText ()). toEqual ('text');
      

      or

      expect ($ ('a'). getText ()). toEqual ('text');
      

      Getting the text itself:

      $ ('a'). getText (). then ((text) => {
          console.log (text);
      })
      
      posted in Automated Testing
      Demir
      Demir
    • RE: Correct way to check server response data (pytest)

      I usually make the expected and actual tuples, and I compare them.

      expected = ('john doe', '1111', 'something', True)
      actual = (
           response ["user"],
           response ["objects"] [0] ["id"],
           response ["objects"] [0] ["event"] [0] ["type"],
           response ["reached"]
      )
      assert expected == actual
      

      Run pytest with the -v switch, then it will clearly show which elements in the tuples are not equal.

      posted in API Testing
      Demir
      Demir
    • RE: JUnit4 tests are passed separately, and when you run the entire file with tests, some of them fail

      Usually static variables live until the program that loaded the class with this static ends. The static is initialized once, when the class is loaded by the class loader. "Usually" I wrote it because it is possible to change this behavior by rewriting the loader class, as is done, for example, in OSGI implementations

      I suppose your tests change the value of a static variable, and you expect that the value of these fields will be "as at the start of the program", but this is not the case, the values ​​from the previous runs of the tests are saved in them. all tests are run within one jvm run

      PS: With your tests there are 2 ways, either you manually initialize the statics as needed before starting each test, or you get rid of it and problems with it.

      posted in Automated Testing
      Demir
      Demir
    • RE: Testing Oracle named query through local H2 database

      It found out that the FIRST_VALUE function appeared in H2 in version 1.4.198, in our project there was version 1.4.195

      posted in SQL
      Demir
      Demir