How to use QTP to identify verification codes, and how to use qtp to record dynamic verification cod

Updated on technology 2024-03-27
8 answers
  1. Anonymous users2024-02-07

    One of the features of these obtainable captcha is that you can select the content of the captcha directly with the mouse, just like you can select the text in word. Right-click to copy, and the pasted content is the content of the verification code.

    Here's how: When recording a captcha, insert the menu -- output value -- output it with standard text. **

    webelement("2646").output checkpoint("2646") '2646 was randomly generated when I was recording.

    After the recording is complete, check the output value properties, modify the configure value, output the obtained verification code to the specified datatable, name it "number", and select Save in local Current Action Sheet(local).

    In this case, the verification code obtained by QTP has been output to the number column of the datatable of the corresponding action, and the verification code will be automatically saved here during the playback process, and it will also be displayed in the test result. Then you can take advantage of this value directly: i=datatable("number",dtlocalsheet) .

    webedit("Captcha input box").set inumber is dynamically generated, you can't see the value before running, don't worry.

    There is something that needs to be changed. Since the first recording is a random captcha, the playback process will definitely change, and although QTP can be played back successfully, it will be slow here because there are internal warnings.

    Solution: Modify the output value properties of the output value. Remove the tick before the html tag, and the innertext below has been parameterized.

    Click OK to play it back and the speed will be significantly faster.

  2. Anonymous users2024-02-06

    By default, the URL object is positioned according to the text, such as order 1, order 2, if the playback becomes order 3, order 4, then the playback will fail. After recording the object, modify the attributes, such as changing the commonality of orders 1 and 3, and use regular expressions.

  3. Anonymous users2024-02-05

    There's no need to check this thing.,Development will have a universal code.,Just ask them for it.。

  4. Anonymous users2024-02-04

    Change the way qtp recognizes a widget in tools-object identification.

  5. Anonymous users2024-02-03

    The purpose of the verification code is to make it difficult for users to read it through software. For example, distorted characters, three-latitude captchas, calculation problems and other techniques emerge one after another. Please ask the developer to provide a universal code during the test.

  6. Anonymous users2024-02-02

    There is no need to automate the test of the captcha, you let the developer comment out, or get a universal captcha, if you can play back the captcha every time it is successful, then there is no point in asking for a captcha.

  7. Anonymous users2024-02-01

    Isn't this the same as general object recognition? You're trying to tell you how to enter encrypted data, right? There is a widget in the installation directory that can help you encrypt user data. Then, use setsecure to enter the encrypted password.

  8. Anonymous users2024-01-31

    I don't know if it's wait(5) or sleep(5).

    And then lose yourself.

Related questions
4 answers2024-03-27

Newly certified by Microsoft:

On May 24, 2006, the latest WinXP passed the genuine verification patch. >>>More

8 answers2024-03-27

You can check the authenticity in the following ways:

After logging in with a browser, click on the authenticity query, select the province in the new window, enter the license number on the network access permit, and click Next. Enter the IMEI number in the mobile phone serial number field, enter the scrambling code on the network access license in the scrambling code column, and click Verify. >>>More

3 answers2024-03-27

Pure fresh royal jelly is translucent milk-like, semi-fluid, dilute and thick, with obvious flowers (commonly known as "pulp flowers"), no impurities such as larvae and wax chips, and no bubbles. Milky white, light yellow or reddish, with nectar or pollen fragrance and spicy aroma, the aroma is strong and pure, with obvious sour, astringent, spicy and sweet taste, mainly sour and spicy. The feel is delicate, with a small crystalline feel and slightly sticky. >>>More

7 answers2024-03-27

Don't try it, the squid is so hot that it's water, and you can't wipe it off in the electric oven, and it's still dangerous.

4 answers2024-03-27

First of all, you have to prepare a *** empty disk,Then burn a system win7 (ios file format) to your disc,Put the system disc into the optical drive,There will be a *** RV drive in my computer。 >>>More