Summary of problem points in QC usage

Source: Internet
Author: User
Tags jboss

A summary of problem points in the QC use, including the following:
1. Incompatible IE7,IE8 issues (server-side settings)
2. Unable to download the page normally under Win 7 (Client settings)
3, in the QC after filling in Chinese content can not be submitted to the database (client settings)
4, in the QC to fill in the Chinese content garbled phenomenon (pending modification)
5, Win 7 ie under the QC can not access
6, the Chinese version of the QC to change the English version needs to be modified
7, Qcmsexceladdin This plug-in after the installation, open Excel, can not find that export to QC that option
8, QC9.0 default support IE 6, does not support IE 7, IE8 and IE9.0
9. When importing data to QC in Excel, the user password cannot be entered
10. When importing data to QC in Excel, select the part to import (requirements, use cases ...). ), the system prompts: Do not allow users to do the following actions
11, modify the QC 8080 port
12, using QC remote start QTP
13. Modify the MSDE default sa password
14. Modify SQL Server password
15. Uninstall QC

1. Resolve the issue of QC compatible (support) IE 7,ie 8

QC9.0 default support IE 6, does not support IE 7 and IE 8, a browser to open IE 7 and IE 8, enter the QC URL, here is the example of my URL: Http://ip:8080/qcbin, you will be prompted: "Microsoft Internet Explorer : 4.0 (compatible; MSIE 8.0; Windows NT 5.2; trident/4.0;. NET CLR 1.1.4322;. NET CLR2.0.50727;. NET CLR 3.0.4506.2152;. NET CLR 3.5.30729) not supported! "

Troubleshooting QC support for IE7,IE8 It is now common practice to modify the start_a.htm file directly in the server-side installation directory, as follows:

1. Under the Jboss\server\default\deploy directory under the installation directory of the service-side QC (the file default path is: C:\Program files\mercury\qualitycenter\jboss\server\ Default\deploy) Find 20qcbin.war this war package.

2. Open this directory with WinRAR, you can see start_a.htm this file.

3. Copy the start_a.htm file, then open it with Notepad, then search for MSIE on the page, and modify add after "(Ua.lastindexof (' MSIE 6.0 ')! = 1)" | | (Ua.lastindexof (' MSIE 7.0′)!! =-1) | | (Ua.lastindexof (' MSIE 8.0′) ' = 1) after replacing the start_a.htm file in the war package. This can also be changed directly in the original file.

4. After you modify the configuration, restart the QC server. The reason is that the process of restarting the server will extract the contents of the 20qcbin.war into the temporary directory.

Note here:

Change the above configuration if you do not want to restart the server, you need to add the start_a.htm in the temp file also added IE7,IE8 support. Only change the system file is required to restart the QC service ~

Refer to this method server side is changed, but I use IE 7 and IE 8 client browser to open QC, but found that still can not display normally, the page appears prompt message, this is because IE 7 and IE 8 security settings caused, a little change is good:

A IE 7

IE 7 security level is relatively high, you need to modify the IE option settings:

Open the browser, enter the QC URL, prompt: "Your browser does not have JavaScript installed, or it has been disabled." ”

Then go back to the browser, click on the Tools menu,->internet options, security, custom level, find the script scripting, "Active scripting" and "script. of Java applets" tick "enable" and click "OK"

Refresh the page, the previous hint finally did not have, but there is an Internet Explorer information cue bar bounce out:

It appears that the ActiveX plugin also needs to enable, find the active Controls and plug-ins in the customization options, check "Enable" with "Run ActiveX controls and Plug-ins", and then refresh the page. The client can download it normally:

B. IE 8

IE8 is relatively simple, as long as the ActiveX plugin enables it:

Here, the server side and the client have been modified, QC 9.0 in IE 7 and IE 8 can be used normally! :)

Change the user Account Control----Restart----then modify the IE properties

In IE8/9 (to run as Administrator), set the IE Properties tool->internet options, advanced enable memory save reduce memory attack option unchecked.

2. Unable to download the page normally under Win 7 (Client settings)

The same problem will appear in the SiteAdmin interface, a browser open IE 7 and IE 8, enter the QC URL, here to my URL for example: Http://192.168.1.23:8080/sabin/SiteAdmin.htm, will appear with Start_ A.htm the same problem, you also need to modify the siteadmin.htm file in the server installation directory. The workaround here is the same as when modifying the start_a.htm file, except that the modified path will be inconsistent, as follows:

1. Under the Jboss\server\default\deploy directory under the installation directory of the service-side QC (the file default path is: C:\Program files\mercury\qualitycenter\jboss\server\ Default\deploy) Find 10sabin.war this war package.

2. Open this directory with WinRAR, you can see siteadmin.htm this file.

3. Copy the siteadmin.htm file, then open it with Notepad, then search for MSIE on the page, and modify add after "(Ua.lastindexof (' MSIE 6.0 ')! = 1)" | | (Ua.lastindexof (' MSIE 7.0′)!! =-1) | | (Ua.lastindexof (' MSIE 8.0′) ' = 1) after replacing the siteadmin.htm file in the war package. This can also be changed directly in the original file.

4. After you modify the configuration, restart the QC server. The reason is that the process of restarting the server will extract the contents of the 10sabin.war into the temporary directory.

5. Other settings will not need to be repeated here if they have already been set in the modified start_a.htm.

3. Solve the problem that QC does not work properly under Win7

In Windows7, found to log on to the QC Server AddIn page, many client components are not properly downloaded, resulting in the entire QC can not be used, the workaround is as follows:

First step: Turn off UAC (User Accountcontrol)

From the Start menu search box, enter UAC, and the change user Account Control setting will appear. After clicking Open, the menu pops up as follows a user Account Control Settings dialog box. Select Never notify by using the scroll bar. Then restart the machine, which is actually to get the current user full Administrator privileges.

Step two: Turn off DEP (Dataextension prevention)

Open the command line as an administrator (through the Start menu search box, enter cmd, right-click the CMD option and select Run as Administrator, then run the following command line, and then restart the machine.)

Bcdedit/set{current} NX AlwaysOff

Step three: Re-download the client components

Open the HP Qcexplore, or use IE directly, enter the address of the QC server in the Address bar and confirm that the component download will proceed smoothly:

Fourth step: Access HP QC Server

When the download is done, you will be able to use the HP Qcexplore, or you can access the QC server by using IE directly.

Fifth step: Restore UAC settings

To ensure security, it is a good idea to revert UAC to its original settings and restart the machine. However, DEP needs to be in a disabled state.

  

4. Resolve the issue that the Chinese content cannot be submitted to the database in QC

After the QC installs and can successfully open the URL, enter the system in the QC to fill in the Chinese content, pop up the error message, as shown in:

The workaround for this type of problem is as shown (this method is for Windows 7 client settings and other systems can make similar modifications):

First step: Open the Control Panel and enter the following interface:

The second step: Select the Red Area section, which is the change Displaylanguage entry, and enter the following interface:

The third step: Select the Red area section, i.e. the formats entry, to enter the following interface:

Fourth step: In the formats interface, change the red area option to "Chinese (Simplified, PRC)", then click "OK" button to automatically close the interface.

Fifth step: Re-open the input QC URL, in the QC to fill in Chinese content and submit, can successfully submit Chinese content.

5.Win 7 No access to QC issues under IE

1. Need other IE kernel browser input address to access the download plugin (note the background before the download)

2. Re-use IE browser settings IE properties tool->internet options, advanced enable memory save reduce memory attack option unchecked (run with administrator)

3. Direct access (run with administrator)

6.QC Chinese version to be modified in English version

1. In the Jboss\server\default\deploy directory under the installation directory of the service-side QC, find 20qcbin.war This war package, you can see start_a.htm modify this file

Add | | (Ua.lastindexof (' MSIE 7.0′)!! =-1) | | (Ua.lastindexof (' MSIE 8.0′)! =-1) after replacing the start_a.htm file in the war package

2. Modify the siteadmin.htm file in the 10sabin.war package in the same way

3. Clear files in this directory: C:\Program files (x86) \common Files\mercury Interactive, same as three folders (author is system:win7 64-bit)

1. License Manager 2. Quality Center 3. Tdapiclient

Reboot

7.QCMSExcelAddin after this plugin is installed, open Excel, can not find that export to QC that option

Workaround: Open Excel, open Add-ins under the menu bar "Tools", browse the Office's directory "C:programfilesmicrosoft Officeoffice11xlstart", select "Tdexceladdin.xla", You can see it when you're sure.

8.qc9.0 IE 6 is supported by default, ie 7, IE8, and IE9.0 are not supported.

An open IE7 and IE 8 browser, enter the QC URL, will appear prompt: "MicrosoftInternet explorer:4.0 (compatible; MSIE 8.0; Windows NT 5.2; trident/4.0;. NET CLR 1.1.4322,. NET CLR 2.0.50727,. NET CLR 3.0.4506.2152,. NET CLR3.5.30729) not supported! "

But now the problem is that each time you restart the QC server, you will find that the previous settings did not take effect, because we modified the temporary folder under the file configuration caused. So to resolve the QC to IE7 and IE8 support at once, we need to modify the system files. Here's how:

1. Find 20qcbin.war This war package under the Jboss\server\default\deploy directory under the installation directory of the service-side QC.

2. Open this directory with WinRAR, you can see start_a.htm this file.

3. Copy start_a.htm This file to modify add | | (Ua.lastindexof (' MSIE 7.0′)!! =-1) | | (Ua.lastindexof (' MSIE 8.0′) ' = 1) after replacing the start_a.htm file in the war package.

This can also be changed directly in the original file.

4. Modify the siteadmin.htm file in the 10sabin.war package in the same way

9. When importing data to QC in Excel, the user password cannot be entered

WORKAROUND: Switch the IME to the English state

10. When importing data to QC in Excel, select the part to import (requirements, use cases ...). ), the system prompts: Do not allow users to do the following actions

Workaround: You can not use the site Administrator account to import data, switch to Admin user ok

11. Modify the QC 8080 port

QC installation using Iis+jboss way, but in the process of using your server 8080 port may be occupied, so you need to modify the QC in the JBoss port, the specific modification steps are as follows, and the modification method has been tested in the native test, the background and the foreground using the new port number will be able to log in normally:

1. Modify the port= "8080" in the \quality center\jboss\server\default\deploy\jbossweb-tomcat55.sar\server.xml file.

2. Modify the following three URL port numbers in the \qualitycenter\jboss\server\default\deploy\http-invoker.sar\meta-inf\jboss-service.xml file.

<attributename= "Invokerurlsuffix" >:8080/invoker/EJBInvokerServlet</attribute>

<attributename= "Invokerurlsuffix" >:8080/invoker/JMXInvokerServlet</attribute>

<attributename= "Invokerurlsuffix" >:8080/invoker/readonly/JMXInvokerServlet</attribute>

12. Using QC remote boot QTP

As the testing team expands and the QTP test scripts grow, we need to run QTP scripts with multiple computers, which is inconvenient if you want to log on to each machine, and the script version on each machine has a unified problem.

Wouldn't it be nice if we could use a computer to command more than one computer running scripts with QTP.

The Quanlity Center (QC) developed by Mercury Company can achieve this function.

To use QC to call QTP remotely, a series of settings is required to achieve this. In this article, we have deployed the QTP computer called "Test Machine", the remote control test machine computer called "console", easy to explain.

After the test machine is loaded with QTP, a plugin is also installed: Tdplugin. The installer for this plugin is installed under the Tdplugin directory of the installation disk and is restarted after installation.

The following settings are important and are described in detail in the Installation guide for QTP, and I'll give you a few highlights here. The Installation Guide file name is: Qt_install_guide.pdf. The specific content is in the chapter "Modifyingdcom Permissions manually to Enable Remote quicktest execution".

To set the permissions of the Windows logon user first, the instructions for the guide file are to assume that both the test machine and the console are joined to the domain, but it is also possible not to join the domain, except that the settings are somewhat different. Let's talk about not joining the domain first. For example, we use ctrluser this user to login to the console of Windows, then, you must also add a Ctrluser user with the same name and password in the test machine, and add this user to the system Administrators group.

If two machines are joined to the domain, it is better to do, such as the console of the login domain user is ctrldomainuser, so long as in the test machine system Administrators group, add the user can, that is, the user logged into the console has the test machine administrator rights.

The next step is to set up the test machine's firewall, primarily open 135 ports and add the AQTRmtAgent.exe agent to the firewall exceptions list.

Then the permissions to set up DCOM, the setup steps here are more, in the Installation Guide document is more clear, mainly to add some users and groups to allow access to the list.

After DCOM is set up, we open QTP, run paging in option, and select Allowother Mercury products to run tests and components.

OK, now open a test, then connect the QTP and QC, and save the test to QC. Log in to QC on the console, create a new test set, and add that test to the testing set. Then in the "host manager" inside, the test machine's IP added in. Go back to the Test Set window and designate this test's "planned hostname" as the IP of the testing machine, so run the test set now.

At this time the test machine QTP will automatically start, run this test,run after the end of the test results will be automatically saved on the QC server, we can view the test results on any computer.

13. Modify the MSDE default sa password

1. On the host computer that is connecting to the instance of MSDE, open a command Prompt window.

2. Type the following command, and then press Enter: Osql-u SA

At the Password: prompt, press Enter (if the password is empty) or type the current password. This allows you to connect to the local default instance of MSDE by using the SA account.

To connect using Windows authentication, type this command: OSQL-E (if you do not know the SA password can be used this way)

3. Type the following commands in individual lines, and then press Enter:

Sp_password @old = null, @new = ' password ', @loginame = ' sa '

Go

Note: Be sure to replace "password" with your password. You will receive the following message indicating that the password was successfully changed:

Password changed.

Note: After you have modified the MSDE password, change the DB Admin password to the same as the MSDE new password to the QC site management--db Server

14. Modify SQL Server password

Uninstall SQL Server First, then delete the "Microsoft SQL Server" folder that was generated during installation, run the registry and put the Hkey_current_user\software\microsoft\microsoftsql Server, and Hkey_local_machine\software\microsoft\microsoftsql server all deleted, (note to delete the entire Microsoft SQL Server folder)

15. Uninstall QC

If you are unable to uninstall QC using the Add removal program normally, follow these steps:

1. Delete C:\Program Files\hp\quality Center directory.

2, go again to add Remove Program Uninstall Quality Center, will delete the list of icons, but not completely deleted, but also need the next step:

3, delete the file c:\windows\vpd.perperties.

4. All rights!

Summary of problem points in QC usage

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.