ArvindSelvaraj
commited on
Commit
•
c236ccc
1
Parent(s):
ec8033d
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import backend # Importing backend functions
|
|
|
3 |
|
4 |
# Title
|
5 |
st.title("Test Case Generator - QA User Story")
|
@@ -21,6 +22,7 @@ if st.button("Generate Test Cases"):
|
|
21 |
|
22 |
# Export test cases
|
23 |
st.sidebar.title("Export Test Cases")
|
|
|
24 |
if st.sidebar.button("Export Test Cases", key="export_button"):
|
25 |
if 'test_cases' in st.session_state:
|
26 |
test_cases = st.session_state.test_cases
|
|
|
1 |
import streamlit as st
|
2 |
import backend # Importing backend functions
|
3 |
+
import os
|
4 |
|
5 |
# Title
|
6 |
st.title("Test Case Generator - QA User Story")
|
|
|
22 |
|
23 |
# Export test cases
|
24 |
st.sidebar.title("Export Test Cases")
|
25 |
+
format = st.sidebar.selectbox("Select Format", ["excel"], key="export_format") # Only "excel" as an option
|
26 |
if st.sidebar.button("Export Test Cases", key="export_button"):
|
27 |
if 'test_cases' in st.session_state:
|
28 |
test_cases = st.session_state.test_cases
|