-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_rv_trader_dealer_functionality.py
executable file
·467 lines (438 loc) · 28.6 KB
/
test_rv_trader_dealer_functionality.py
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
import unittest
import allure
"""*****************************************************************************
* Author: Shorthills Tech
* Description: RV Trader Rental Owner functionality test suit.
*******************************************************************************"""
class RvTraderOwnerFuntionilityTestSuit(unittest.TestCase):
@allure.story("To verify that length field on description screen is accepting only positive integers")
@allure.description("To verify that length field on description screen is accepting only positive integers")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Try to enter alphabets in length field.")
def test_tc_dealer_add_vehicle_001(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_001
tc_dealer_add_vehicle_001.execute(self)
@allure.story("To verify that odometer field on description screen is accepting only positive integers")
@allure.description("To verify that odometer field on description screen is accepting only positive integers")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7.Try to enter alphabets in length field Odometer Field, ")
def test_tc_dealer_add_vehicle_003(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_003
tc_dealer_add_vehicle_003.execute(self)
@allure.story("To verify that back button on amenities screen is taking user back to description screen")
@allure.description("To verify that back button on amenities screen is taking user back to description screen")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on Back button")
def test_tc_dealer_add_vehicle_004(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_004
tc_dealer_add_vehicle_004.execute(self)
# @allure.story(
# "To verify that when an error occured on Hours & Location screen then error is displaying on same screen.")
# @allure.description(
# "To verify that when an error occured on Hours & Location screen then error is displaying on same screen.")
# @allure.link("https://uat.dev.imt.rvtrader.com/ ")
# @allure.step('1. Click on login link.')
# @allure.step("2. Enter credentials and click on login tab.")
# @allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
# @allure.step("4. Click on Start Renting button")
# @allure.step("5. click on Add Vehicle tab")
# @allure.step("6. Enter required vehicle details under description tab.")
# @allure.step("7. Click on save and continue tab")
# @allure.step("8. Fill all required details under amenities tab")
# @allure.step("9. Click on save and continue tab")
# @allure.step(
# "10. Fill required details under hours and location tab and try to enter wrong location in location field")
# @allure.step("11. Click on save and continue tab")
# def test_tc_dealer_add_vehicle_005(self):
# from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_005
# tc_dealer_add_vehicle_005.execute(self) # Pending
@allure.story("To validate Back button functionality on Hours & Location screen")
@allure.description("To validate Back button functionality on Hours & Location screen")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step(" 9. Click on save and continue tab")
@allure.step(" 10. Fill required details under hours and location tab.")
@allure.step(" 11. Click on back button")
def test_tc_dealer_add_vehicle_006(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_006
tc_dealer_add_vehicle_006.execute(self)
@allure.story("To validate Back button functionality on Rates & Calender screen")
@allure.description("To validate Back button functionality on Rates & Calender screen")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on save and continue tab")
@allure.step("10. Fill required details under hours and location tab.")
@allure.step("11. Click on save & continue button.")
@allure.step("11. Fill required details under Rates & Calender tab")
@allure.step("12. Click on Back tab.")
def test_tc_dealer_add_vehicle_007(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_007
tc_dealer_add_vehicle_007.execute(self)
@allure.story("To verify Price per mile field is accepting only positive integers")
@allure.description("To verify Price per mile field is accepting only positive integers")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on save and continue tab")
@allure.step("10. Fill required details under hours and location tab.")
@allure.step(
"11. Enter zero or negative integer value in price per additional mile field on Rates & Calender screen")
def test_tc_dealer_add_vehicle_008(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_008
tc_dealer_add_vehicle_008.execute(self)
@allure.story("To verify Nightly Rate field is accepting only positive integers")
@allure.description("To verify Nightly Rate field is accepting only positive integers")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on save and continue tab")
@allure.step("10. Fill required details under hours and location tab and click on Save & Continue tab")
@allure.step("11. Enter multiple e's in Nightly rate field on Rates & Calender screen")
def test_tc_dealer_add_vehicle_009(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_009
tc_dealer_add_vehicle_009.execute(self)
@allure.story("To validate Back button functionality on rental option.")
@allure.description("To validate Back button functionality on rental option.")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on save and continue tab")
@allure.step("10. Fill required details under hours and location tab.")
@allure.step("11. Click on Save & Continue tab")
@allure.step("12. Fill required details under Rates & Calender tab")
@allure.step("13. Click on Save & Continue tab.")
@allure.step("14. Fill required details under Rental Option.")
@allure.step("15 Click on Back tab")
def test_tc_dealer_add_vehicle_010(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_010
tc_dealer_add_vehicle_010.execute(self)
@allure.story("To verify that error occurred on photos screen is getting display on same screen")
@allure.description("To verify that error occurred on photos screen is getting display on same screen")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on save and continue tab")
@allure.step("10. Fill required details under hours and location tab.")
@allure.step("11. Click on Save & Continue tab")
@allure.step("12. Fill required details under Rates & Calender tab")
@allure.step("13. Click on Save & Continue tab.")
@allure.step("14. Fill required details under Rental Option.")
@allure.step("15 Click on Save & Continue tab")
@allure.step("16. Try to upload wrong format photo on photos screen like .DOC, .XLS etc.")
def test_tc_dealer_add_vehicle_011(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_011
tc_dealer_add_vehicle_011.execute(self)
@allure.story("To verify that error occured on videos screen is getting display on same screen")
@allure.description("To verify that error occured on videos screen is getting display on same screen")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on save and continue tab")
@allure.step("10. Fill required details under hours and location tab.")
@allure.step("11. Click on Save & Continue tab")
@allure.step("12. Fill required details under Rates & Calender tab")
@allure.step("13. Click on Save & Continue tab.")
@allure.step("14. Fill required details under Rental Option.")
@allure.step("15 Click on Save & Continue tab")
@allure.step("16. upload photos of vehicle and click on save & Continue")
@allure.step("17 Try to upload wrong format video or documents")
def test_tc_dealer_add_vehicle_012(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_012
tc_dealer_add_vehicle_012.execute(self)
@allure.story("To validate Business TXN ID is accepting only positive integers")
@allure.description("To validate Business TXN ID is accepting only positive integers")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. Go to RV drop down available in top right corner.")
@allure.step("6. Select banking option")
@allure.step("7. Try to enter alphabets or negative value in Business TXN ID")
def test_tc_dealer_add_vehicle_013(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_013
tc_dealer_add_vehicle_013.execute(self)
@allure.story("To validate Account Number is accepting only positive integers")
@allure.description("To validate Account Number is accepting only positive integers")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. Go to RV drop down available in top right corner.")
@allure.step("6. Select banking option")
@allure.step("7. Try to enter alphabets or negative value in Account number field")
def test_tc_dealer_add_vehicle_014(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_014
tc_dealer_add_vehicle_014.execute(self)
@allure.story("To validate Routing Number is accepting only positive integers")
@allure.description("To validate Routing Number is accepting only positive integers")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. Go to RV drop down available in top right corner.")
@allure.step("6. Select banking option")
@allure.step("7. Try to enter alphabets or negative value in Routing number field")
def test_tc_dealer_add_vehicle_015(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_015
tc_dealer_add_vehicle_015.execute(self)
@allure.story("To verify that dealer is able to Add vehicles on portal for rent")
@allure.description("To verify that dealer is able to Add vehicles on portal for rent")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on save and continue tab")
@allure.step("10. Fill required details under hours and location tab.")
@allure.step("11. Click on Save & Continue tab")
@allure.step("12. Fill required details under Rates & Calender tab")
@allure.step("13. Click on Save & Continue tab.")
@allure.step("14. Fill required details under Rental Option.")
@allure.step("15 Click on Save & Continue tab")
@allure.step("16. upload photos of vehicle and click on save & Continue")
@allure.step("17. upload videos of vehicle")
@allure.step("19.click on Done button")
def test_tc_dealer_add_vehicle_016(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_016
tc_dealer_add_vehicle_016.execute(self)
@allure.story("To verify that a user can upload the video on dealer page")
@allure.description("To verify that a user can upload the video on dealer page")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on save and continue tab")
@allure.step("10. Fill required details under hours and location tab.")
@allure.step("11. Click on Save & Continue tab")
@allure.step("12. Fill required details under Rates & Calender tab")
@allure.step("13. Click on Save & Continue tab.")
@allure.step("14. Fill required details under Rental Option.")
@allure.step("15 Click on Save & Continue tab")
@allure.step("16. upload photos of vehicle and click on save & Continue")
@allure.step("17. upload videos of vehicle")
@allure.step("19.click on Done button")
def test_tc_dealer_add_vehicle_017(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_017
tc_dealer_add_vehicle_017.execute(self)
@allure.story("To verify that Dealer can upload photos for vehicle available for rental.")
@allure.description("To verify that Dealer can upload photos for vehicle available for rental")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. click on Add Vehicle tab")
@allure.step("6. Enter required vehicle details under description tab.")
@allure.step("7. Click on save and continue tab")
@allure.step("8. Fill all required details under amenites tab")
@allure.step("9. Click on save and continue tab")
@allure.step("10. Fill required details under hours and location tab.")
@allure.step("11. Click on Save & Continue tab")
@allure.step("12. Fill required details under Rates & Calender tab")
@allure.step("13. Click on Save & Continue tab.")
@allure.step("14. Fill required details under Rental Option.")
@allure.step("15 Click on Save & Continue tab")
@allure.step("16. upload photos of vehicle and click on save & Continue")
def test_tc_dealer_add_vehicle_019(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_019
tc_dealer_add_vehicle_019.execute(self) #Pending
@allure.story("To verify that Dealer can set vehicle pricing (Rent) for vehicle available for rent.")
@allure.description("To verify that Dealer can set vehicle pricing (Rent) for vehicle available for rent.")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. Select Vehicle from list of vehicle available for a dealer for which dealer wants to set price "
"or rent")
@allure.step("6. From left list of tab go to Rates & Calender tab")
@allure.step("7. Enter required price which needs to be set for selected vehicle.")
@allure.step("8. Click on Video tab then click on Done button")
def test_tc_dealer_add_vehicle_021(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_021
tc_dealer_add_vehicle_021.execute(self)
@allure.story("To verify that Bussiness TAX ID field is accepting numbers of limited length")
@allure.description("To verify that Bussiness TAX ID field is accepting numbers of limited length")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step(" 5. Click on profile drop down and select Banking tab there")
@allure.step("6. Try to enter Business TAX ID as unlimited length")
def test_tc_dealer_add_vehicle_022(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_022
tc_dealer_add_vehicle_022.execute(self)
@allure.story("To verify that the Account Number field is accepting numbers of limited length.")
@allure.description("To verify that the Account Number field is accepting numbers of limited length.")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step(" 5. Click on profile drop down and select Banking tab there")
@allure.step("6. Try to enter Account Number as unlimited length")
def test_tc_dealer_add_vehicle_023(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_023
tc_dealer_add_vehicle_023.execute(self)
@allure.story("To verify that the Routing Number field is accepting numbers of limited length.")
@allure.description("To verify that the Routing Number field is accepting numbers of limited length.")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step(" 5. Click on profile drop down and select Banking tab there")
@allure.step("6. Try to enter Routing Number as unlimited length")
def test_tc_dealer_add_vehicle_024(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_024
tc_dealer_add_vehicle_024.execute(self)
@allure.story("To verify that Make field is having LOV's as per model selected")
@allure.description("To verify that Make field is having LOV's as per model selected")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. Click on Add vehicle button and select value for Model field")
@allure.step("6. On Description screen verify Make field ")
def test_tc_dealer_add_vehicle_025(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_025
tc_dealer_add_vehicle_025.execute(self)
@allure.story("To verify that TRIM field is having LOV's as per Make & Model selected")
@allure.description("To verify that Make field is having LOV's as per model selected")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. Click on Add vehicle button and select value for Model & Make field")
@allure.step("6. On Description screen verify TRIM field ")
def test_tc_dealer_add_vehicle_026(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_026
tc_dealer_add_vehicle_026.execute(self)
@allure.story("To verify Last 4 digit of SSN field is taking only Numbers in profile page")
@allure.description("To verify Last 4 digit of SSN field is taking only Numbers in profile page")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step(" 5. Click on profile drop down and select Autherised User tab there")
@allure.step(" 6. Try to enter Name field value as combination of special char and alphanumeric characters")
def test_tc_dealer_add_vehicle_027(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_027
tc_dealer_add_vehicle_027.execute(self)
@allure.story("To verify that nightly rate field on Rates & Calendar screen should not accept 0 or negative value ")
@allure.description("To verify that nightly rate field on Rates & Calendar screen should not accept 0 or negative "
"value ")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. Add Vehicle and go to Rates & Calendar screen ")
@allure.step("6. Test Nightly Rate field with negative and 0 value")
def test_tc_dealer_add_vehicle_036(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_036
tc_dealer_add_vehicle_036.execute(self)
@allure.story("To verify that nightly rate field on Rates & Calendar screen is having upper limit defined ")
@allure.description("To verify that nightly rate field on Rates & Calendar screen is having upper limit defined ")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step("5. Add Vehicle and go to Rates & Calendar screen ")
@allure.step("6. Check Verify Nightly Rate field by providing more than 999 values in it")
def test_tc_dealer_add_vehicle_037(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_037
tc_dealer_add_vehicle_037.execute(self)
@allure.story("To verify Vehicle title is taking 1 to 100 characters")
@allure.description("To verify Vehicle title is taking 1 to 100 characters")
@allure.link("https://uat.dev.imt.rvtrader.com/ ")
@allure.step('1. Click on login link.')
@allure.step("2. Enter credentials and click on login tab.")
@allure.step("3. Go to inventory tab then under inventory tab select tab For Rent.")
@allure.step("4. Click on Start Renting button")
@allure.step(" 5. click on Add Vehicle tab")
@allure.step("6. Check Verify Nightly Rate field by providing more than 999 values in it")
def test_tc_dealer_add_vehicle_097(self):
from rv_trader_dealer_test.dealer_test_scripts import tc_dealer_add_vehicle_097
tc_dealer_add_vehicle_097.execute(self)