From 8f3919d3bbbd2eb09b981a9c67d8bef3a5d81073 Mon Sep 17 00:00:00 2001 From: nartey Date: Fri, 21 Jun 2024 13:16:11 +0800 Subject: [PATCH] TestScript --- .../__pycache__/actor.cpython-312.pyc | Bin 0 -> 1115 bytes .../__pycache__/admin.cpython-312.pyc | Bin 0 -> 9917 bytes .../__pycache__/instructor.cpython-312.pyc | Bin 0 -> 11520 bytes .../__pycache__/student.cpython-312.pyc | Bin 0 -> 9650 bytes .../__pycache__/utility.cpython-312.pyc | Bin 0 -> 13602 bytes .../__pycache__/helper.cpython-312.pyc | Bin 0 -> 1839 bytes .../test_ScriptbugSylvester.py | 77 ++++++++++++++++++ 7 files changed, 77 insertions(+) create mode 100644 test/SeleniumIbrahim/test_kit/__pycache__/actor.cpython-312.pyc create mode 100644 test/SeleniumIbrahim/test_kit/__pycache__/admin.cpython-312.pyc create mode 100644 test/SeleniumIbrahim/test_kit/__pycache__/instructor.cpython-312.pyc create mode 100644 test/SeleniumIbrahim/test_kit/__pycache__/student.cpython-312.pyc create mode 100644 test/SeleniumIbrahim/test_kit/__pycache__/utility.cpython-312.pyc create mode 100644 test/SeleniumSylvester/__pycache__/helper.cpython-312.pyc create mode 100644 test/SeleniumSylvester/test_ScriptbugSylvester.py diff --git a/test/SeleniumIbrahim/test_kit/__pycache__/actor.cpython-312.pyc b/test/SeleniumIbrahim/test_kit/__pycache__/actor.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bbad8a3a4bd675b140c2ae97538f6467fb6a9547 GIT binary patch literal 1115 zcmbtTJ8K(35T4!B<19;dtQf}+9ADw)0(QC-Ap`<}Uw##?40Q7qzghYSz2~Ep!dVGY4S|12zDGUTg!7QF0yhV8Ti+kL*rW>(6Z^qnr-A z(r<+#kggS_wBM+!43?@af~K~P%{J@wvdUuo~Gt)SaHd9SKx zLDM9~#~}2o#PPV(i)vU`+?-Y%Y$}Dn|c8 zgJer+7zvkY84(M2`=D>#>x|({TdSW2NwQ|8oC|Z~Z3|dTe!{8ZYt4whvixIDPx z+lEQWwdwO}RhzyLQBH_vTXq}d=Y{yxtv2EvML(`uBiJC=B-lcjfN5jC4@G(!AZ~gO zVFXjo`N7m?d~cdz=pj6qA?(C;R8n$TTuM)I+wR7G7L$3dsFmqSgZ#7@W54)1+nEA_ GDfkW7{MgX| literal 0 HcmV?d00001 diff --git a/test/SeleniumIbrahim/test_kit/__pycache__/admin.cpython-312.pyc b/test/SeleniumIbrahim/test_kit/__pycache__/admin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..10f0129c5b99f1b9824859469e1720710ca4a91e GIT binary patch literal 9917 zcmeI2TWl298GvVY_I|O~HonDN26HhB*jxexY%n&#+zSMp1{T9)c4uslJ$uQS*~PVhJq@7D9(pvo@2tXC@085EGiui zYm&6ol7D!(6*3n=X`Tp@91*l!B6>-VyxeotN_WTW!3HA(yytd%5_mYaDMNFqrk2}W0l7={5J z4p53sO2m1jI2lHW3Nphej)W|Tf;=3sDOQOWdlhG#m87#V#3^n`PH=owW&{p-p*O|F zFkumD8AigBL&KGNyd~V)^SZ<%si!~QbLiNy9+{Wqp5wg8M}2 z>16}z0@k0jyNs=+UIS%%u5jlpy%xP+{eI4tv<*}g+UU8P`3y;v(9fQ<&%1t95&axV z$3T^?RpD+L>4HM3p5v^B9i1g+rB-iSxN|ncDz4{v%Wk~oPC5thBARg}U7TYC%93uJ z>aF1)WiBIg8YA;0JtcZ`6?)_5qfd{~r#I;>+9zomm4)*Tt|ADu^r_=3wnlwMU%n_k zCkbT*2}$4VYkN-e%MJNu$+Fqy5Brx9@E_EmF9@!pU?)>)rKxn0-gaQIo-5q-|H^aa zCD!NCLR&qTEH_CnXi`-uEg@@}E}?KgPZi!eNenL-qD~TL$v`!G20mxq{enbCc)35u z(QHDFMOgSC(`=NZg(!T`5%zI(81bwuMEmF{f0ky$;aDOn)4eDbal2fN>NmNOj$r!c#LX56AgdT9OgSfdUs6j}lmXt0o_Jt9DSR(few_FLZa# zY$)?=x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%lhjo zJF}*I^ao`JZ|-FyaV#r8?b5nF4vSWHvPx1#jHkwyqAIR!h6 zZrpFub{T7njerYS_$2NLzrW+z{C?RNPAl~Lt1PjOXYu=LowgYWn~GxcoVFiW3WkU$ zVRoytfLDukXe^*Qa8FLHD;qsgLxd;B6nRPvp=>QOQX_LB*kHi{e08#fJc>JRW#4I) zk-?Ht{4EHOM4b#8JD!OQysZm0*X%i}6I`u-_0`~ygE#DXW*>wSKDU42{LGmhIg{Q0 zdX8ap{x_EO?``cL_PpP7Bb4ttsB|6tJoJU|neh9`-@Kmdn#i?HX2}-Zn(NHhZdGcx z-m~9#-gVxY%hkRDTXRORC7}2MIbRQY^x|gSPr?hE{voD$btX^uDs=Dd&@Y6Kh3vp^ zjy`1d>aG*~( zVHo3OZKa5AY>ElKuuB^u`Q{Sw?+(A+`E{S&zWR}Sx1D|@+93T8(bi+9|0`(QY^O#1 zcuTu2K&wve>s1lRgizPQ$9dY9s(t5#kiHq+hX@NFBZSiWhWNS)P2h7sjC%G#To?l% zYFqU-BF0@bJcr%$w4_HCu>&6yx>dMo_Sn5gAF_R73NEp~5_*7#q|Ih~K(ss{dL9tF Y9}qA9E8+jzF-6+wEB^l^@T|%BA4vnx9{>OV literal 0 HcmV?d00001 diff --git a/test/SeleniumIbrahim/test_kit/__pycache__/student.cpython-312.pyc b/test/SeleniumIbrahim/test_kit/__pycache__/student.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5f147c3e350923d8225a60f323f9bf7dbaeac266 GIT binary patch literal 9650 zcmeHNdu$ZP8Q;CV*WSZ9+ZaD^%-ROb*~WxNz`_pT7hu9GHV$w&-QL}W0hr7i1yG>*A%jOYzE>W!I>`-oP{UvP>ODk zeZl0m-oroKq+}ZKi%|rEVQ>Lb=PBMdi~_Im=#)1gLP0HmZjSehJjeQ@5iTGGq7mVk zU(uwb2KC2-{UBTdqj|zZa)iggksj)GVv6Jp7p)#6M_nX5Ce8?{nKMCZ!G?LPoCQ+) zb>b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Mg`SC3@iKYRbAgQZ6mPOr%}?1@Yjr{pQdu%kPe) z8lHQ%_MKCIY)&=2kfHV#MupZJ)@0{c+A&@^DmrQpHJHBYG#DDcv~DsuzC1>{A$^&|@(HrT z;P`rsBn=kXUb(T`A(`ZVx53x=UY(jsh%xS1^%-EpQZK00?Nf# zQ~5f`jO~`sp7vsCGfw2OoW&A$q&&Wd)_%o-d(jk>;dv5pAatK1N%AgHf0yXGOYFW& Z?EjpgKPOyY8GmRXEwA(cC2%gQ`5(8$B6|P; literal 0 HcmV?d00001 diff --git a/test/SeleniumIbrahim/test_kit/__pycache__/utility.cpython-312.pyc b/test/SeleniumIbrahim/test_kit/__pycache__/utility.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3ac79fab29a289d1e004eb03a954dfda81fd64a5 GIT binary patch literal 13602 zcmdU0du$ZrNA?(n)v9e<@UIkH7Bo z{mst9_6AzWNxf0>^>2Ug$M^mH@~@Fdki)m+KQsC3Z5;QX^uzo-^}?N3QMkrQoaD-I zS=YGBMP+x!o#n@QR^~IFtaseY%ASlb>mLuWvNt1)3+U_31jmEyZ)iN^=Dxv6z6+e> zf6r~KFdkm?#siRw(9?&a!0DY1d&`+Bh4@iDM zK?(o{B>^xb1p&iS2rwdr0h^=-MOjtloR&^z#H_4M=OtCl z$+9F%L18klh_5A;biSa9lZ9N0-2uiVH8H8kVlJDE1}oS9TYXjN&fDBeAk z8aj6xbF1g3=gyrN9X+SXs&;Nn&d9lRA^XgPlAKOwS!H52t(~hMdth!+458Z%5my$9O9A%Em z?ESh?xW<*Z8LD0Ljo}@ObIzMkWUZh8*$C0hs}Sdu{A+1om^eQz=R|8yVt!%<6h}y# zQe@nU#11xUOfiHr?qPEff((hOrlfOIbaHm^xJ!v(H!AH@te$ z!KN#lE^oT!?p%L(VpHt!&tm#(oWN<;)yz1N9Np-9&-lZgca>Z--ue&6AG6)Xq22Fj zs26d$gpX@JbJTnFwQ2Miw+%0&(d)5Ka@nnpTDPN?Zi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lAhX?xTi9MRyrHorax;pn^qkMxuVjZE`Bu zSfkLPym7W7UoY;I^;)gCMHExE ziW#KVubgTzc9hhpx zkKs$~^!Q@y{lj;=u~&Ps)lO{n>G<*K@!(#_iI4PPvICRHaE?Vs=3D8*`R?p1z1ii? z?DDgtBf$sKKP(`;aD3%<`$Fz7z_C1BjDIt8@Xo{N0c=lS{smtC_f%l!GwVf`u+MWh za%&Fh&9bj}*4KU+tYK@ntSQ`b!+TWJhR=!FR`mR+lv zm}G5rP>;!H`(Wo|jGto@9eWLrK;DnS8keN|wjY5$3jo-;#2LJ)n~JTWHJoOu^X<2y dY-0E1xD)X533%-U-1;4S*!L&7dA!J${sSLFki-B0 literal 0 HcmV?d00001 diff --git a/test/SeleniumSylvester/test_ScriptbugSylvester.py b/test/SeleniumSylvester/test_ScriptbugSylvester.py new file mode 100644 index 0000000..fe33fab --- /dev/null +++ b/test/SeleniumSylvester/test_ScriptbugSylvester.py @@ -0,0 +1,77 @@ +import pytest +from selenium import webdriver +from selenium.webdriver.common.by import By +from selenium.webdriver.support.ui import WebDriverWait +from selenium.webdriver.support import expected_conditions as EC +from selenium.common.exceptions import NoSuchElementException, TimeoutException +import time +import traceback + +driver = webdriver.Chrome() + +try: + # Navigate to the page with tabs + driver.get("http://localhost:8080/lrr/") + driver.maximize_window() + wait = WebDriverWait(driver, 10) + + # Login as a Lecturer + username_input = wait.until(EC.presence_of_element_located((By.NAME, "user"))) + password_input = driver.find_element(By.NAME, "password") + login_button = driver.find_element(By.ID, "login_btn") + + username_input.send_keys("ashly@qq.com") + password_input.send_keys("admin123") + time.sleep(5) + login_button.click() + + course_but= driver.find_element(By.XPATH, "(//div[@class='btn btn-default'])[1]") # Adjust this XPATH as needed + + + # Click on the alert + course_but.click() + time.sleep(5) + + marked_tab = wait.until( + EC.element_to_be_clickable((By.XPATH, "//a[text()='Marked']")) + ) + marked_tab.click() + + # Wait for the Marked tab content to be present + marked_tab_content = wait.until( + EC.presence_of_element_located((By.XPATH, "//div[@id='menu4' and contains(@class, 'active')]")) + ) + + time.sleep(5) + remark_but = wait.until( + EC.presence_of_element_located((By.XPATH, "//button[normalize-space()='Request remarking']")) + ) + remark_but.click() + + + time.sleep(2) + + # Switch to the alert + alert = driver.switch_to.alert + + # Send keys to the prompt + alert.send_keys("Number 2 was correct") + + # Accept the prompt (click OK) + alert.accept() + + time.sleep(5) + + + +except NoSuchElementException as e: + print("NoSuchElementException: Could not find an element.") + traceback.print_exc() +except TimeoutException as e: + print("TimeoutException: An element took too long to load.") + traceback.print_exc() +except Exception as e: + print(f"An unexpected error occurred: {e}") + traceback.print_exc() +finally: + driver.quit()