日历
| |||||||||
| 日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
| 1 | 2 | 3 | 4 | ||||||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 | |||
| 12 | 13 | 14 | 15 | 16 | 17 | 18 | |||
| 19 | 20 | 21 | 22 | 23 | 24 | 25 | |||
| 26 | 27 | 28 | 29 | 30 | 31 | ||||
搜索标题
统计信息
- 访问量: 202
- 日志数: 3
- 建立时间: 2007-06-05
- 更新时间: 2008-04-21
我的最新日志
-
bugzilla安装
2008-4-21
对于bugzilla的安装,第一次安装总是遇上很多小问题,下面记录一下自己的安装过程。。。。
(1) 安装 ActivePerl,bugzilla-3.1.3,mysql
(2)运行一下ActivePerl更新PPM
(3)检查一下 bugzilla还有那模块没发现,在命令行下运行bugzilla目录下的checksetup.pl
那些not found就是需要下载的模块了,下载后,在运行checksetup.pl 如果所需模块都下载(下载模块地址:ppm repo add theory58S http://theoryx5.uwinnipeg.ca/ppms)安装成功后,命令行下会提示在bugzilla目录下生成localconfig,然后修改这个文件
# The DNS name of the host that the database server runs on.
$db_host = 'localhost';# The name of the database
$db_name = 'bugs';(创建的数据库)# Who we connect to the database as.
$db_user = 'root';(mysql的登陆名)# Enter your database password here. It's normally advisable to specify
# a password for your bugzilla database user.
# If you use apostrophe (') or a backslash (\) in your password, you'll
# need to escape it by preceding it with a '\' character. (\') or (\)
# (Far simpler just not to use those characters.)
$db_pass = '123456';(mysql的登陆密码)保存成功后,打开浏览器输入http://localhost/bugzilla/ 呵呵,是否已经打开bugzilla主页了
接下来设置 必需设置
maintainer
维护者。
维护此Bugzilla系统的人的电子邮件地址urlbase
The URL that is the common initial leading part of all Bugzilla URLs.
比如:http://xxx.xxx.xxx.xxx/bugzilla/(xxx.xxx.xxx.xxx是安装bugzilla这部机的ip地址)sslbase
The URL that is the common initial leading part of all HTTPS (SSL) Bugzilla URLs.
比如https://xxx.xxx.xxx.xxx/ (xxx.xxx.xxx.xxx是安装bugzilla这部机的ip地址)
以上必需设置的三个参数设置对了 就可以了 其他的默认(其他的没怎么研究,研究过的,可以留言,呵呵 大家互相学习)
然后就这只mail了
mail_delivery_method
这个选择我选择SMTP 因为我只用这个做试验的
sendmailnow
我是选择 off
smtpserver
这个写邮件服务器的的地址
到这里 mail设置 其他的都可以默认了
然后提交保存成功就可以了。
然后试试发邮件是否成功。。。。呵呵,到这个时候我当时也以为成功了,可是报错
“There was an error sending mail from 'bugzilla-daemon@' to 'sunhao66@gmail.com':Can't call method "address" on an undefined value at C:/Perl/site b/Email nd/SMTP.pm line 24.
这时候你看看刚才设置的参数是否提交保存有消,呵呵 是否发现什么都没有修改好呢。
这个时候就要设置文件夹的权限了
bugzilla文件夹 右键 属性 安全 然后把Users 设置完全控制
然后在重新设置一下参数 呵呵
这个时候应该没问题了
写到这里 为自己以后重新安装的时候提供帮助,以免走弯路。。。
大家有什么新的研究 也可以留言讨论。。呵呵
-
参数化后无法运行的解决方法
2008-2-27
-
参数话后运行报错
2008-2-27
我在fromPort进行参数化,并且在受影响的相关位置Browser("Welcome: Mercury Tours").Page("Flight Confirmation: Mercury").Check CheckPoint("New York")也做了参数化
然后我运行就报如下异常
Cannot identify the object"formPort"(of class WebList).Verify that this object'S properties match an object currently displayed in your application
如下我脚本
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set "qiufcong"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("password").SetSecure "47c2600a5a53e160830391d92546656b45e8"
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Sign-In").Click 29,11
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromPort").Select DataTable("departure", dtGlobalSheet)
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromMonth").Select "December"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromDay").Select "29"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("toPort").Select "San Francisco"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("toMonth").Select "December"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("toDay").Select "31"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebRadioGroup("servClass").Select "Business"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").Image("findFlights").Click 35,14
Browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").Image("reserveFlights").Click 50,9
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebTable("New York to San Francisco").Check CheckPoint("New York to San Francisco")
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passFirst0").Set "qiu"
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").Check CheckPoint("Book a Flight: Mercury")
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passFirst0").Check CheckPoint("passFirst0")
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("passLast0").Set "test"
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebEdit("creditnumber").Set "123456"
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").WebCheckBox("ticketLess").Set "ON"
Browser("Welcome: Mercury Tours").Page("Book a Flight: Mercury").Image("buyFlights").Click 47,7
Browser("Welcome: Mercury Tours").Page("Flight Confirmation: Mercury").Check CheckPoint("New York")
Browser("Welcome: Mercury Tours").Page("Flight Confirmation: Mercury").Image("home").Click
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours_2").Sync谢谢
